The keep-alive callback consists of a call to OnEvent() with count set to zero. Keep-alive callbacks will not occur when the subscription is inactive. Keep-alive callbacks do not affect the value of LastUpdateTime returned by EventServer.GetStatus().
| Visual Basic (Declaration) | |
|---|---|
| Public Function SetKeepAlive( _ ByVal _keepAliveTime As Integer, _ ByRef revisedKeepAliveTime As Integer _ ) As Integer | |
| C# | |
|---|---|
| public int SetKeepAlive( int _keepAliveTime, out int revisedKeepAliveTime ) | |
Parameters
- _keepAliveTime
- revisedKeepAliveTime
- The KeepAliveTime the server is actually providing, which may differ from keepAliveTime.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family
 
     
     
     
     
    