Partager via


IMsTscAx

The IMsTscAx dual interface lets you connect and disconnect the client control, create virtual channel objects, and transmit data over a virtual channel. The interface also contains methods to retrieve and set properties related to the client control. These methods are also available through the IMsRdpClient interface.

The IMsTscAx interface contains the following methods.

  • IUnknown methods
  • IDispatch methods
  • IMsTscAx methods

The following table shows the methods for the IMsTscAx interface.

Method Description
put_Server Sets the value of the Server property, which is the name of the server to which the current control is connected.
get_Server Retrieves the value of the Server property.
put_Domain Sets the value of the Domain property, which specifies the domain to which the current user logs on.
get_Domain Retrieves the value of the Domain property.
put_UserName Sets the value of the UserName property, which specifies the user name logon credential.
get_UserName Retrieves the value of the UserName property.
get_Connected Retrieves the value of the Connected property, which specifies the connection state of the current control.
put_DisconnectedText Sets the value of the DisconnectedText property, which is text that appears centered in the control before a connection is terminated.
get_DisconnectedText Retrieves the value of the DisconnectedText property.
put_ConnectingText Sets the value of the ConnectingText property, which is text that appears centered in the control while the control is connecting.
get_ConnectingText Retrieves the value of the ConnectingText property.
get_DesktopWidth Retrieves the value of the DesktopWidth property.
get_DesktopHeight Retrieves the value of the DesktopHeight property.
get_HorizontalScrollBarVisible Retrieves the value of the HorizontalScrollBarVisible property, a Boolean value that indicates whether or not the control has displayed a horizontal scroll bar.
get_VerticalScrollBarVisible Retrieves the value of the VerticalScrollBarVisible property, a Boolean value that indicates whether the control displays a vertical scroll bar.
get_CipherStrength Retrieves the value of the CipherStrength property, which specifies the maximum encryption strength of the current control.
get_Version Retrieves the version number of the current control.
get_SecuredSettings2 Retrieves the address of the current control's IMsTscSecuredSettings interface.
get_AdvancedSettings Retrieves an instance of the IMsTscAdvancedSettings interface.
Connect Initiates a connection using the properties currently set on the control.
Disconnect Disconnects the active connection.
CreateVirtualChannels Creates a client-side virtual channel object for each specified virtual channel name.
SendOnVirtualChannel Sends data to the Terminal server over a virtual channel that was created previously with the IMsTscAx::CreateVirtualChannels method.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Discodlg.h. Mstsax.idl.
Link Library: Mstsax.lib.

See Also

Remote Desktop ActiveX Control Interface

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.