Expand Minimize
This topic has not yet been rated - Rate this topic

IMsRdpClientAdvancedSettings::keepAliveInterval property

Specifies an interval, in milliseconds, at which the client sends keep-alive messages to the server.

A group policy setting that specifies whether persistent client connections to the server are allowed can override this property setting.

This property is read/write.

Syntax


HRESULT put_keepAliveInterval(
  [in]   LONG keepAliveInterval
);

HRESULT get_keepAliveInterval(
  [out]  LONG *pkeepAliveInterval
);

Property value

The new interval, in milliseconds. The default value of the property is zero, which disables keep-alive messages. The minimum valid value of this property is 10,000, which represents 10 seconds.

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 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

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: 10/26/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.