IMsRdpClientAdvancedSettings2::MaxReconnectAttempts property
Specifies the number of times to try to reconnect during automatic reconnection.
This property is read/write.
Syntax
HRESULT put_MaxReconnectAttempts(
[in] LONG MaxReconnectAttempts
);
HRESULT get_MaxReconnectAttempts(
[out] LONG *pMaxReconnectAttempts
);
Property value
The new number of retries. The valid values are 0 to 200, inclusive.
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 |
|
DLL |
|
IID |
IID_IMsRdpClientAdvancedSettings2 is defined as 9ac42117-2b76-4320-aa44-0e616ab8437b |