OPC Data Access Automation Specification2.02
Remarks
Naming a group is optional. This property allows
the user to specify a name,
therefore a unique
name must be provided when setting the value for this property.
The server will generate a unique name for the group, if no name is specified, on the Add method of
the OPCGroups object.
Example
VB Syntax Example (getting the property):
Dim CurrentValue As String
Set OneGroup = MyGroups.Add( “AnOPCGroupName” )
CurrentValue = OneGroup.Name
VB Syntax Example (setting the property):
Set OneGroup = MyGroups.Add( “AnOPCGroupName” )
OneGroup.Name = “aName”
Do'stlaringiz bilan baham: