Description
Allows Activation and deactivation of individual OPCItem’s in the OPCItems Collection
Syntax
As Long)
Part Description
The number of items to be affected
ServerHandles
Array of server item handles for the items processed
ActiveState
TRUE if items are to be activated. FALSE if items are to be
deactivated.
Errors
operation.
Example
‘set items to active (TRUE)
AnOPCItemCollection.SetActive ItemCount, AnOPCItemServerHandles, TRUE,
AnOPCItemServerErrors
‘ add code to process any errors that are returned from ‘the method, individual errors are reported in
69
the Errors array