Logs the session off, disconnecting any user that might be attached.
Declaring type: ITerminalServicesSession
Namespace: Cassia
Assembly: Cassia
Collapse/Expand Syntax
C#
public abstract void Logoff (
        bool synchronous
) 
Parameters
synchronous
If true, waits until the session is fully logged off before returning from the method. If false, returns immediately, even though the session may not be completely logged off yet.