Applies to: desktop apps only
Specifies the maximum length of time, in minutes, that the client should remain connected without user
input. If the specified time elapses, the control calls the
IMsTscAxEvents::OnIdleTimeoutNotification
method.
You can use this property in a situation where you need to disconnect an idle session;
for example, in a kiosk environment.
This property is read/write.
Syntax
HRESULT put_MinutesToIdleTimeout(
[in] LONG minutesToIdleTimeout
);
HRESULT get_MinutesToIdleTimeout(
[out] LONG *pminutesToIdleTimeout
);
Property value
The new time, in minutes. The default value is zero, which disables the feature. The maximum value is 240,
which represents 4 hours.
Error codes
Returns S_OK if successful.
Remarks
For more information about Remote Desktop Web Connection, see
Requirements for Remote Desktop Web Connection.
Requirements
|
Minimum supported client
| Windows XP |
|
Minimum supported server
| Windows Server 2003 |
|
IID
|
IID_IMsRdpClientAdvancedSettings is defined as 3c65b4ab-12b3-465b-acd4-b8dad3bff9e2
|
See also
-
IMsRdpClientAdvancedSettings2
-
IMsRdpClientAdvancedSettings3
-
IMsRdpClientAdvancedSettings4
-
IMsRdpClientAdvancedSettings5
-
IMsRdpClientAdvancedSettings
Send comments about this topic to Microsoft
Build date: 3/7/2012