IMsTscAx::StartConnected property

Indicates whether the control will establish the Remote Desktop Session Host (RD Session Host) server connection immediately upon startup.

This property is read/write.

Syntax

HRESULT put_StartConnected(
  [in]  BOOL fStartConnected
);

HRESULT get_StartConnected(
  [out] BOOL *pfStartConnected
);

Property value

Set this parameter to TRUE if the control should connect immediately on startup, or FALSE otherwise.

Error codes

Return S_OK if successful.

Remarks

This property is most useful when the control properties are set in the parameter list of an <OBJECT> tag, rather than through script calls.

This property can be used only if the server name is also specified using the server property. This parameter has to be set before the control starts up for example, by including it in the parameter list of an <OBJECT> tag when using the control from a webpage.

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
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

Embedding the Remote Desktop ActiveX Control in a Webpage

IMsTscAx