4.1.4.11
OPCGroups
Description
(Read only) A collection of OPCGroup objects. This is the default property of the OPCServer
object.
Syntax
OPCGroups As OPCGroups
Example
‘(explicit property specification):
Dim groups As OPCGroups
Set groups = AnOPCServer.OPCGroups
‘(using the default specification):
Dim groups As OPCGroups
Set groups = AnOPCServer
4.1.4.12
PublicGroupNames
Description
(Read-only) Returns the names of this server’s Public Groups. These names can be used in
ConnectPublicGroup. The names are returned as an array of strings.
Syntax
PublicGroupNames As Variant
Remarks
An error occurs if the client has not connected to a Data Access Server via the Connect method.
An empty list is returned if the underlying server does not support the Public Groups interface, or
if there are no public groups defined.
Example
Dim AllPublicGroupNames As Variant
AllPublicGroupNames = AnOPCServer.PublicGroupNames
Do'stlaringiz bilan baham: |