3.2.4.3.9 Disconnect (Opnum 23)

The Disconnect method is received by the server in an RPC_REQUEST packet. In response, the server MUST disconnect the represented QueueManager from the network and the directory.

 HRESULT Disconnect();

This method has no parameters.

Return Values: The method MUST return S_OK (0x00000000) to indicate success or an implementation-specific error HRESULT on failure.<18>

When the server processes this call, it MUST follow these guidelines:

  • If the ComputerName instance variable is NULL:

  • Else:

    • The server MUST generate a QMMgmt Action event with the following inputs:

      • iAction = "DISCONNECT"

    • The server MUST return rStatus, and MUST take no further action.