dOPC Client Toolkit
Close
dOPCDA.TdOPCGroups.Remove

Remove removes the TdOPCGroup with the name passed by the GroupName parameter.

procedure Remove(GroupName: string);
__fastcall Remove(AnsiString GroupName);

The TdOPCItems in this group will also be deleted.

OPCServer.OPCGroups.Remove('Testgroup');

Is the same as:

Group := OPCServer.OPCGroups.GetOPCGroup('Testgroup'); if Group <> nil then Group.Free else raise Exception.create('group not found');
Kassl GmbH Copyright © 2024. All rights reserved.