DANSrvAE Reference
GetKeepAlive Method
See Also  Send comments on this topic.
NSPlugin Assembly > NSPlugin Namespace > EventSubscription Class : GetKeepAlive Method

_keepAliveTime
The maximum amount of time (in milliseconds) the server sends a new subscription callback since the last subscription callback. A value of zero indicates the server will not send any keep-alive callbacks. If SetKeepAlive() has never been called, the value will be zero

Glossary Item Box

Returns the currently active keep-alive time for the subscription.

Syntax

Visual Basic (Declaration) 
Public Function GetKeepAlive( _
   ByRef _keepAliveTime As Integer _
) As Integer
C# 
public int GetKeepAlive( 
   out int _keepAliveTime
)

Parameters

_keepAliveTime
The maximum amount of time (in milliseconds) the server sends a new subscription callback since the last subscription callback. A value of zero indicates the server will not send any keep-alive callbacks. If SetKeepAlive() has never been called, the value will be zero

Return Value

HResult success/error code

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

© 2004-2017 Advosol Inc. All Rights Reserved.