Connects this session to an existing session. Both sessions must be running on the local server.
Declaring type: ITerminalServicesSession
Namespace: Cassia
Assembly: Cassia
Collapse/Expand Syntax
C#
public abstract void Connect (
        ITerminalServicesSession target,
        string password,
        bool synchronous
) 
Parameters
target
The session to which to connect.
password
The password of the user logged on to the target session. If the user logged on to the target session is the same as the user logged on to this session, this parameter can be an empty string.
synchronous
If true, waits until the operation has completed before returning from the method. If false, returns immediately, even though the operation may not be complete yet.
Collapse/Expand Remarks
The user logged on to this session must have permissions to connect to the target session.