IMsTscAx::Connected property

Retrieves the connection state of the current control.

This property is read-only.

Syntax

HRESULT get_Connected(
  [out] short *pIsConnected
);

Property value

Indicates the connection state of the control. This can be one of the following values.

0

The control is not connected.

1

The control is connected.

2

The control is establishing a connection.

Error codes

Return S_OK if successful.

Remarks

The preferred way to determine the control's connection state is to respond to the connection events in IMsTscAxEvents.

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Tsvirtualchannels.h
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsTscAx is defined as 8C11EFAE-92C3-11D1-BC1E-00C04FA31489

See also

IMsRdpClient

IMsRdpClient2

IMsRdpClient3

IMsRdpClient4

IMsRdpClient5

IMsRdpClient6

IMsRdpClient7

IMsRdpClient8

IMsRdpClient9

IMsTscAx