public TextTO disconnectSite()
{
TextTO result = new TextTO();
if (mySession.ConnectionSet == null || mySession.ConnectionSet.Count == 0)
{
result.fault = new FaultTO(NO_CONNECTIONS);
return result;
}
try
{
mySession.ConnectionSet.disconnectAll();
result.text = "OK";
}
catch (Exception e)
{
result.fault = new FaultTO(e.Message);
}
return result;
}