OPC Studio User's Guide and Reference
IsKnownItemSubscriptionHandle Method (IEasyDAClient)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > IEasyDAClient Interface : IsKnownItemSubscriptionHandle Method
The item subscription handle to be tested.
Determines whether the given item subscription handle is known to this client.
Syntax
'Declaration
 
<PureAttribute()>
Function IsKnownItemSubscriptionHandle( _
   ByVal handle As Integer _
) As Boolean
'Usage
 
Dim instance As IEasyDAClient
Dim handle As Integer
Dim value As Boolean
 
value = instance.IsKnownItemSubscriptionHandle(handle)
[Pure()]
bool IsKnownItemSubscriptionHandle( 
   int handle
)
[Pure()]
bool IsKnownItemSubscriptionHandle( 
   int handle
) 

Parameters

handle
The item subscription handle to be tested.

Return Value

Returns true if the given handle is known to the client (i.e. represents a currently subscribed item). Otherwise, returns false.
Remarks

This method is pure, i.e. it does not have observable side effects.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also