OPC Labs EasyOPC “Classic” Components Library
SubscribeEvents Method
OpcLabs_EasyOpcClassicComponents ActiveX DLL > EasyAEClient Object : SubscribeEvents Method

Description
Subscribe to OPC events. Specify server descriptor and subscription parameters objects, "refresh when active" flag, and a callback method.

 

DISPID (Dispatch ID):

 

For more information, see SubscribeEvents in .NET Reference.

Syntax
Visual Basic
Public Function SubscribeEvents( _
   ByVal serverDescriptor As Variant, _
   ByVal subscriptionParameters As Variant, _
   ByVal refreshWhenActive As Boolean, _
   ByVal state As Variant _
) As Long
Parameters
serverDescriptor

subscriptionParameters

refreshWhenActive

state

Return Type

See SubscribeEvents in .NET Reference.

Remarks

For remarks, see SubscribeEvents in .NET Reference.

Example

For examples, see SubscribeEvents in .NET Reference.

See Also

EasyAEClient Object  | EasyAEClient Members