IMsRdpClientAdvancedSettings2::CanAutoReconnect property

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

This property is read-only.

Syntax

HRESULT get_CanAutoReconnect(
  [out] VARIANT_BOOL *pfCanAutoReconnect
);

Property value

Receives VARIANT_TRUE if the control is able to automatically reconnect, and VARIANT_FALSE otherwise.

Error codes

Return S_OK if successful.

Remarks

Situations in which automatic reconnection might not be enabled include those in which an administrator uses group policy to disable autoreconnection, and legacy environments that do not support automatic reconnection.

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

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