Namespace: Opc.UaFx.Services
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The IOpcDeleteReferencesService interface defines the following members.
Deletes one or more references of existing nodes in the address space hierarchy using the commands
specified.
C#
OpcStatusCollection DeleteReferences(IEnumerable<OpcDeleteReference> commands)
Parameters
commands
IEnumerable<OpcDeleteReference>
A sequence of OpcDeleteReference 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 reference 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 |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerIndexInvalid | The server index is not valid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
Deletes one or more references of existing nodes in the address space hierarchy using the commands
specified.
C#
OpcStatusCollection DeleteReferences(params OpcDeleteReference[] commands)
Parameters
commands
OpcDeleteReference[]
An array of OpcDeleteReference 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 reference 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 |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerIndexInvalid | The server index is not valid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |