OPCDA.NET Reference Manual
GetKeepAlive Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > OpcGroup Class : GetKeepAlive Method

keepAliveRate
The maximum amount of time (in milliseconds) between subscription callbacks. A value of zero indicates the server will not send any empty keep-alive callbacks.

Glossary Item Box

Returns the currently active keep-alive time for the group subscription. ( Available in OPC DA V3 servers only ).

Syntax

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

Parameters

keepAliveRate
The maximum amount of time (in milliseconds) between subscription callbacks. A value of zero indicates the server will not send any empty keep-alive callbacks.

Return Value

S_OK or E_FAIL

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.