OPC Data Access Automation Specification2.02
Remarks
This method will fail if the server
does not support public groups, or
if the group has not been
connected to via ConnectPublicGroup.
Refer to Appendix A - OPC Automation Error Handling for information on OPC Automation
errors and Exceptions
Example
Set OneGroup = MyGroups.ConnectPublicGroup ( “AnOPCGroupName” )
‘ some more code here
MyGroups.RemovePublicGroup ( “AnOPCGroupName” )
‘or
Set OneGroup = MyGroups.ConnectPublicGroup ( “AnOPCGroupName” )
‘ some more code here
MyGroups.RemovePublicGroup (OneGroup.ServerHandle )
Do'stlaringiz bilan baham: