IServerClient::CloseSession method

Closes current session and disconnects from the IM server.

HRESULT CloseSession();

Return Value

S_OK
The function was successful.
S_FALSE
The function was successful but the IM server returned non-successful result code.