Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Development
System Services
 IMsRdpClientAdvancedSettings::keepA...
IMsRdpClientAdvancedSettings::keepAliveInterval property

Applies to: desktop apps only

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

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker