3.1.4.3 Disconnect Connection

When the higher-layer protocol requests to disconnect a connection, it MUST specify the following argument.

  • Connection object to disconnect.

This Connection object MUST be contained in an Outgoing Connection Table in a Session object contained in the Session Table; otherwise, the request to disconnect the connection MUST fail.

The MSDTC Connection Manager: OleTx Multiplexing Protocol (CMP) instance MUST allocate an MTAG_DISCONNECT message and set the dwConnectionId field in the MsgHeader field of the message to the connection identifier of that specified Connection object. It MUST enqueue this message on the Session object of the specified Connection object as described in section 3.1.7.1.