Revision history:
Introduced in QPR 8.0
Logs out an authenticated session, the ID of which is provided as a parameter for the function call.
Synopsis:
void LogOff(string sessionId)
Return Value:
None.
Parameters:
sessionId: String. ID of a previously authenticated session. This can alternatively be provided as a value of the request header parameter "sessionid".
Example Procedure:
ServiceClient client = new ServiceClient("WSHttpBinding_IService");
string sessionId = client.Authenticate("qpr", "demo");
string xmlElement = client.QueryObjectsAsXml(sessionId, "[SC.1].SubObjects", "", "", "", "");
client.LogOff(sessionId);
client.Close();