OPC Studio User's Guide and Reference
Subscribe Method (DAClientPropertyMapping)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAClientPropertyMapping Class : Subscribe Method
The OPC-DA client operation context to use.

The value of this parameter cannot be null (Nothing in Visual Basic).

Determines whether to activate (or deactivate) the subscription.
Performs the Subscribe operation on the mapping.
Syntax
'Declaration
 
Public Sub Subscribe( _
   ByVal clientOperationContext As DAClientOperationContext, _
   ByVal active As Boolean _
) 
'Usage
 
Dim instance As DAClientPropertyMapping
Dim clientOperationContext As DAClientOperationContext
Dim active As Boolean
 
instance.Subscribe(clientOperationContext, active)

Parameters

clientOperationContext
The OPC-DA client operation context to use.

The value of this parameter cannot be null (Nothing in Visual Basic).

active
Determines whether to activate (or deactivate) the subscription.
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