The Connect method is received by the server in an RPC_REQUEST packet. In response, the server MUST connect the represented QueueManager to the network and to the directory.

 HRESULT Connect();

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.<17>

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