Skip to content

Reference

IOpcDeleteNodesService Members

Defines a specialized IOpcService<TResponse, TRequest> which can be used to delete one or more nodes from the address space hierarchy.

Reference

IOpcDeleteNodesService Members ​

Type
IOpcDeleteNodesService
Namespace
Opc.UaFx.Services
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from IOpcService<OpcDeleteNodesResponse, OpcDeleteNodesRequest>.

Methods ​

DeleteNodes ​

2 overloads · since v2.7

OverloadDescription
DeleteNodes(IEnumerable<OpcDeleteNode>)since v2.7Deletes one or more nodes from the address space hierarchy using the commands specified.
DeleteNodes(params OpcDeleteNode[])since v2.7Deletes one or more nodes from the address space hierarchy using the commands specified.

Exceptions (all overloads)

ExceptionCondition
ArgumentNullExceptionThe commands sequence or one of its items is a null reference (Nothing in Visual Basic).
InvalidOperationExceptionThe delete node service is currently not supported, especially using the commands specified.
OpcExceptionThe service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.

DeleteNodes(IEnumerable<OpcDeleteNode>) ​

since v2.7

Deletes one or more nodes from the address space hierarchy using the commands specified.

csharp
OpcStatusCollection DeleteNodes(IEnumerable<OpcDeleteNode> commands)
vbnet
Function DeleteNodes(
    commands As IEnumerable(Of OpcDeleteNode)) As OpcStatusCollection

Parameters

NameTypeDescription
commandsIEnumerable<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.

Remarks

Known results for the commands specified are:

StatusDescription
BadNodeIdInvalidFor more details see BadNodeIdInvalid.
BadNodeIdUnknownFor more details see BadNodeIdUnknown.
BadUserAccessDeniedFor more details see BadUserAccessDenied.
BadNoDeleteRightsFor more details see BadNoDeleteRights.
UncertainReferenceNotDeletedThe server was not able to delete all target references.

DeleteNodes(params OpcDeleteNode[]) ​

since v2.7

Deletes one or more nodes from the address space hierarchy using the commands specified.

csharp
OpcStatusCollection DeleteNodes(params OpcDeleteNode[] commands)
vbnet
Function DeleteNodes(
    ParamArray commands As OpcDeleteNode()) As OpcStatusCollection

Parameters

NameTypeDescription
commandsparams 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.

Remarks

Known results for the commands specified are:

StatusDescription
BadNodeIdInvalidFor more details see BadNodeIdInvalid.
BadNodeIdUnknownFor more details see BadNodeIdUnknown.
BadUserAccessDeniedFor more details see BadUserAccessDenied.
BadNoDeleteRightsFor more details see BadNoDeleteRights.
UncertainReferenceNotDeletedThe server was not able to delete all target references.