Muokkaa

Jaa


IMsRdpClientAdvancedSettings2::EnableAutoReconnect property

Specifies whether to enable the client control to reconnect automatically to a session in the event of a network disconnection.

This property is read/write.

Syntax

HRESULT put_EnableAutoReconnect(
  [in]  VARIANT_BOOL fEnableAutoReconnect
);

HRESULT get_EnableAutoReconnect(
  [out] VARIANT_BOOL *pfEnableAutoReconnect
);

Property value

Set to VARIANT_TRUE to enable automatic reconnection, and to VARIANT_FALSE to disable it. The default is VARIANT_TRUE.

Error codes

Return S_OK if successful.

Remarks

This property cannot be set when the control is connected.

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_IMsRdpClientAdvancedSettings2 is defined as 9ac42117-2b76-4320-aa44-0e616ab8437b

See also

IMsRdpClientAdvancedSettings3

IMsRdpClientAdvancedSettings4

IMsRdpClientAdvancedSettings5

IMsRdpClientAdvancedSettings6

IMsRdpClientAdvancedSettings7

IMsRdpClientAdvancedSettings8

IMsRdpClientAdvancedSettings2