CM_CONNECTION_CONNECT_BEHAVIOR (Compact 2013)

3/26/2014

This enumeration contains descriptions of connection behaviors.

Syntax

typedef enum CM_CONNECTION_CONNECT_BEHAVIOR
{
    CMCB_DEFAULT,
    CMCB_ALWAYS_CONNECTED,
    CMCB_ON_DEMAND,
    CMCB_ON_DEMAND_WHEN_ROAMING,
        CMCB_PER_POLICY
    CMCB_LAST
} CM_CONNECTION_CONNECT_BEHAVIOR;

Element Definitions

  • CMCB_DEFAULT
    The default connect behavior, typically CMCB_ALWAYS_CONNECTED.
  • CMCB_ALWAYS_CONNECTED
    The connection is connected whenever possible without need for an outstanding request from the application.
  • CMCB_ON_DEMAND
    The connection is connected only on demand and disconnected when not in use. An on-demand connection can be shared by any other application permitted by security policy.
  • CMCB_ON_DEMAND_WHEN_ROAMING
    The connection is CMCB_ALWAYS_CONNECTED when not roaming and CMCB_ON_DEMAND when roaming.
  • CMCB_PER_POLICY
    Connection requires policy to be connected and subsequently follows the same behavior as CMCB_ON_DEMAND.
  • CMCB_LAST
    The last value.

Requirements

Header

cmnet.h

See Also

Reference

Connection Manager Connection Configuration Enumerations