Returns the currently active keep-alive time for the subscription.
Syntax
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 keepalive callbacks.
If SetKeepAlive() has never been called, the value will be 0.
Return Value
HRESULTS error/success code.
Requirements
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x
See Also