Поделиться через


IMsTscAx (Windows Embedded CE 6.0)

1/6/2010

This interface provides methods to 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.

IMsTscAx is a dual interface.

Methods

The IMsTscAx interface contains the following methods.

The following table shows the methods for the IMsTscAx interface.

Method Description

Connect

Initiates a connection using the properties currently set on the control.

CreateVirtualChannels

Creates a client-side virtual channel object for each specified virtual channel name.

Disconnect

Disconnects the active connection.

get_AdvancedSettings

Retrieves an instance of the IMsTscAdvancedSettings interface.

get_CipherStrength

Retrieves the value of the CipherStrength property, which specifies the maximum encryption strength of the current control.

get_Connected

Retrieves the value of the Connected property, which specifies the connection state of the current control.

get_ConnectingText

Retrieves the value of the ConnectingTextproperty.

get_DesktopHeight

Retrieves the value of the DesktopHeight property.

get_DesktopWidth

Retrieves the value of the DesktopWidth property.

get_DisconnectedText

Retrieves the value of the DisconnectedText property.

get_Domain

Retrieves the value of the Domain 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_SecuredSettings2

Retrieves the address of the current control's IMsTscSecuredSettings interface.

get_Server

Retrieves the value of the Server property.

get_UserName

Retrieves the value of the UserName property.

get_Version

Retrieves the version number of the current control.

get_VerticalScrollBarVisible

Retrieves the value of the VerticalScrollBarVisible property, a Boolean value that indicates whether the control displays a vertical scroll bar.

put_ConnectingText

Sets the value of the ConnectingText property, which is text that appears centered in the control while the control is connecting.

put_DisconnectedText

Sets the value of the DisconnectedText property, which is text that appears centered in the control before a connection is terminated.

put_Domain

Sets the value of the Domain property, which specifies the domain to which the current user logs on.

put_Server

Sets the value of the Server property, which is the name of the server to which the current control is connected.

put_UserName

Sets the value of the UserName property, which specifies the user name logon credential.

SendOnVirtualChannel

Sends data to the terminal server over a virtual channel that was created previously with the IMsTscAx::CreateVirtualChannels method.

Requirements

Header discodlg.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Concepts

Remote Desktop ActiveX Control Interfaces