IOpcDeleteNodesService Members

Namespace: Opc.UaFx.Services
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The IOpcDeleteNodesService interface defines the following members.

DeleteNodes(IEnumerable<OpcDeleteNode>)

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

OpcStatusCollection

An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The delete node service is currently not supported, especially using the commands specified.

OpcException

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.

DeleteNodes(OpcDeleteNode[])

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

OpcStatusCollection

An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The delete node service is currently not supported, especially using the commands specified.

OpcException

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.