IMsRdpClientAdvancedSettings::MinutesToIdleTimeout property

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 Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpClientAdvancedSettings is defined as 3c65b4ab-12b3-465b-acd4-b8dad3bff9e2

See also

IMsRdpClientAdvancedSettings2

IMsRdpClientAdvancedSettings3

IMsRdpClientAdvancedSettings4

IMsRdpClientAdvancedSettings5

IMsRdpClientAdvancedSettings6

IMsRdpClientAdvancedSettings7

IMsRdpClientAdvancedSettings8

IMsRdpClientAdvancedSettings