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.
DISPID (Dispatch ID):
For more information, see SubscribeEvents in .NET Reference.
Visual Basic |
---|
Public Function SubscribeEvents( _ ByVal serverDescriptor As Variant, _ ByVal subscriptionParameters As Variant, _ ByVal refreshWhenActive As Boolean, _ ByVal state As Variant _ ) As Long |
See SubscribeEvents in .NET Reference.
For remarks, see SubscribeEvents in .NET Reference.
For examples, see SubscribeEvents in .NET Reference.