Add method

Description
Creates a new OPCGroup in the OPCGroups collection.
Syntax
Add
(Optional Name As Variant) As OPCGroup
Name
— Optional parameter to give the group a customer specified name. The name must be unique among the other groups created by this client. If no name is provided, the server-generated name will also be unique relative to any existing groups.
Remarks
If the optional name is not specified, the server generates a unique name. This method will fail if the name specified is not unique.
Example
Dim WithEvents MyOPCGroup As OPCGroup
'/* Add new group to OPCGroups collection
Set MyOPCGroup = MyOPCServer.OPCGroups.Add("MyGroupName")
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal