Namespace: Opc.UaFx.Services
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The IOpcDeleteNodesService interface defines the following members.
Deletes one or more nodes from the address space hierarchy using the commands
specified.
C#
OpcStatusCollection DeleteNodes(IEnumerable<OpcDeleteNode> commands)
Parameters
commands
IEnumerable<OpcDeleteNode>
A sequence of OpcDeleteNode instances to process.
Returns
An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The delete node service is currently not supported, especially using the commands
specified.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
UncertainReferenceNotDeleted | The server was not able to delete all target references. |
Deletes one or more nodes from the address space hierarchy using the commands
specified.
C#
OpcStatusCollection DeleteNodes(params OpcDeleteNode[] commands)
Parameters
commands
OpcDeleteNode[]
An array of OpcDeleteNode instances to process.
Returns
An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The delete node service is currently not supported, especially using the commands
specified.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
UncertainReferenceNotDeleted | The server was not able to delete all target references. |