Compartilhar via


CM_SESSION_CONNECTION_SELECTION_PROGRESS_ACTION (Compact 2013)

3/26/2014

Provides the status of a connection as it is being considered for use in the connection selection process.

Syntax

typedef enum CM_SESSION_CONNECTION_SELECTION_PROGRESS_ACTION
{
    CMSA_ACQUIRE_BEGIN,
    CMSA_ACQUIRE_END,
    CMSA_RELEASE_BEGIN,
    CMSA_RELEASE_END,

    CMSA_LAST

} CM_SESSION_CONNECTION_SELECTION_PROGRESS_ACTION;

Element Definitions

  • CMSA_ACQUIRE_BEGIN,
    The connection has entered the ACQUIRE state.
  • CMSA_ACQUIRE_END,
    The connection has left the ACQUIRE state.
  • CMSA_RELEASE_BEGIN,
    The connection has entered the RELEASE state.
  • CMSA_RELEASE_END,
    The connection has left the RELEASE state.
  • CMSA_LAST
    The last value

Remarks

As a connection is being considered, it progresses through these states in this order: ACQUIRE_BEGIN, ACQUIRE_END, RELEASE_BEGIN, and RELEASE_END. Significant time may pass between the ACQUIRE_END and RELEASE_BEGIN states.

Requirements

Header

cmnet.h

Library

cmnet.lib

See Also

Reference

Connection Manager Status and Notification Enumerations
CM_NOTIFICATION