Share via


IMsRdpClientAdvancedSettings::put_MinutesToIdleTimeout (Windows Embedded CE 6.0)

1/6/2010

This method sets a value that specifies the maximum length of time, in minutes, that the client should remain connected while there is no user input.

Syntax

HRESULT put_MinutesToIdleTimeout( 
    LONG minutesToIdleTimeout
);

Parameters

  • minutesToIdleTimeout
    [in] Specifies the time to remain connected, in milliseconds.

    The default value is 0.

Return Value

Returns S_OK if successful.

Remarks

If the specified time elapses, the control calls the IMsTscAxEvents::OnIdleTimeoutNotification method.

You can use this property in situations when you need to disconnect an idle session, such as in a kiosk environment.

Requirements

Header mstsax.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsRdpClientAdvancedSettings Methods for Connections, Timeouts, Intervals, and Events
IMsRdpClientAdvancedSettings
IMsRdpClientAdvancedSettings::put_MinutesToIdleTimeout