Partager via


IMsRdpClientAdvancedSettings::get_MinutesToIdleTimeout (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HRESULT get_MinutesToIdleTimeout( 
    LONG *pminutesToIdleTimeout
);

Parameters

  • pminutesToIdleTimeout
    [out] Indicates the time to remain connected, in minutes.

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