RemoveAll method
Description | Removes all current OPCGroup and OPCItem objects referenced in the server. |
Syntax | RemoveAll () |
Remarks | This function is designed to make server-object cleanup much easier for clients to ensure all objects are released when the Server object is released. An OPCBrowser object is not removed by this method. |
Example | '/* Normal Shutdown sequence '/* Remove all OPC Groups MyOPCServer.OPCGroups.RemoveAll '/* Remove all OPC Group objects Set MyOPCGroup = Nothing '/* Disconnect from server MyOPCServer.Disconnect '/* Remove OPCServer object Set MyOPCServer = Nothing |
Provide Feedback