CM_CONNECTION_SELECTION_TYPE (Compact 2013)

3/26/2014

This enumeration contains options that are used in the selection of a connection.

Syntax

typedef enum CM_CONNECTION_SELECTION_TYPE
{
    CMST_CONNECTION_ALL,
    CMST_CONNECTION_NAME,
        CMST_CONNECTION_TYPE,
    CMST_CONNECTION_DEVICE_TYPE,
    CMST_CONNECTION_NETWORK_TYPE,
    CMST_LAST
} CM_CONNECTION_SELECTION_TYPE;

Element Definitions

  • CMST_CONNECTION_ALL
    Matches all connection. This can be used as a specification of last connection when fUseConnectionsInOrder if the CM_POLICY_CONFIG_DATA structure is set to TRUE. This allows the use of any always-connected connection in case all of the other connections fail to connect to the application. A mappings policy that contains a single connection with this selection type is the default mapping for every key.
  • CMST_CONNECTION_NAME
    Matches a connection by name. Connection Manager will only connect an on-demand connection if it is specified by name in a mappings policy.
  • CMST_CONNECTION_TYPE
    Matches a connection by type.
  • CMST_CONNECTION_DEVICE_TYPE
    Matches a connection by device type.
  • CMST_CONNECTION_NETWORK_TYPE
    Matches a connection by network type.
  • CMST_LAST
    The last value in the enumeration.

Requirements

Header

cmnet.h

Library

cmnet.lib

See Also

Reference

Connection Manager Policy Enumerations
CM_CONNECTION_SELECTION