Reference
OpcClient.DeleteReference Method
Deletes a reference of existing nodes in the address space hierarchy using the command specified.
Reference
OpcClient.DeleteReference Method
- Type
- OpcClient
- Namespace
- Opc.UaFx.Client
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcClient Members
- Also in
- Opc.UaFx.Client
| Overload | Description |
|---|---|
| DeleteReference( | Deletes a reference of existing nodes in the address space hierarchy using the command specified. |
| DeleteReference( | Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other. |
| DeleteReference( | Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other using the direction specified. |
| DeleteReference( | Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other using the direction specified. |
| DeleteReference( | Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other using the direction specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Object | The object has been disposed of. |
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and Bad |
DeleteReference(OpcDeleteReference)
Deletes a reference of existing nodes in the address space hierarchy using the command specified.
public OpcStatus DeleteReference(OpcDeleteReference command)Public Function DeleteReference(command As OpcDeleteReference) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
command | Opc | The Opc |
Returns
An instance of the OpcStatus class which contains the information about the outcome of the processed command.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The command is a null reference ( |
| Invalid | The add node service is currently not supported, especially using the command specified. |
Remarks
Known results for the command specified are:
| Status | Description |
|---|---|
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Bad | The server index is not valid. |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
DeleteReference(OpcNodeId, OpcNodeId)
Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other. The relation is deleted in bidirectional direction using Organizes as the type of reference.
public OpcStatus DeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId)Public Function DeleteReference(
nodeId As OpcNodeId,
targetNodeId As OpcNodeId) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId through that the source node can be identified and accessed. |
targetNodeId | OpcNodeId | The OpcNodeId through that the target node can be identified and accessed. |
Returns
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId or targetNodeId is equals Null. |
| Argument | The nodeId or targetNodeId is a null reference ( |
Remarks
Known results for the service invocation are:
| Status | Description |
|---|---|
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Bad | The server index is not valid. |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
DeleteReference(OpcNodeId, OpcNodeId, OpcReferenceDirection?)
Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other using the direction specified. The reference to delete have to be of the relation defined by direction using the Organizes as the type of reference.
public OpcStatus DeleteReference(
OpcNodeId nodeId,
OpcNodeId targetNodeId,
OpcReferenceDirection? direction)Public Function DeleteReference(
nodeId As OpcNodeId,
targetNodeId As OpcNodeId,
direction As OpcReferenceDirection?) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId through that the source node can be identified and accessed. |
targetNodeId | OpcNodeId | The OpcNodeId through that the target node can be identified and accessed. |
direction | Nullable<Opc | One of the members defined by the Opc |
Returns
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId or targetNodeId is equals Null. |
| Argument | The nodeId or targetNodeId is a null reference ( |
Remarks
Known results for the service invocation are:
| Status | Description |
|---|---|
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Bad | The server index is not valid. |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
DeleteReference(OpcNodeId, OpcNodeId, OpcReferenceDirection?, OpcReferenceType)
Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other using the direction specified. The reference to delete have to be of the relation defined by direction using the referenceType specified as the type of reference.
public OpcStatus DeleteReference(
OpcNodeId nodeId,
OpcNodeId targetNodeId,
OpcReferenceDirection? direction,
OpcReferenceType referenceType)Public Function DeleteReference(
nodeId As OpcNodeId,
targetNodeId As OpcNodeId,
direction As OpcReferenceDirection?,
referenceType As OpcReferenceType) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId through that the source node can be identified and accessed. |
targetNodeId | OpcNodeId | The OpcNodeId through that the target node can be identified and accessed. |
direction | Nullable<Opc | One of the members defined by the Opc |
referenceType | OpcReferenceType | One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the source and the target node identified by the nodeId and the targetNodeId. |
Returns
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId or targetNodeId is equals Null. |
| Argument | The nodeId or targetNodeId is a null reference ( |
Remarks
Known results for the service invocation are:
| Status | Description |
|---|---|
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Bad | The server index is not valid. |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
DeleteReference(OpcNodeId, OpcNodeId, OpcReferenceDirection?, OpcNodeId)
Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other using the direction specified. The reference to delete have to be of the relation defined by direction using the type of reference identified by the referenceTypeId specified.
public OpcStatus DeleteReference(
OpcNodeId nodeId,
OpcNodeId targetNodeId,
OpcReferenceDirection? direction,
OpcNodeId referenceTypeId)Public Function DeleteReference(
nodeId As OpcNodeId,
targetNodeId As OpcNodeId,
direction As OpcReferenceDirection?,
referenceTypeId As OpcNodeId) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId through that the source node can be identified and accessed. |
targetNodeId | OpcNodeId | The OpcNodeId through that the target node can be identified and accessed. |
direction | Nullable<Opc | One of the members defined by the Opc |
referenceTypeId | OpcNodeId | The OpcNodeId which identifies the type of reference to use to setup the reference between the source and the target node identified by the nodeId and the targetNodeId. |
Returns
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId, targetNodeId or referenceTypeId is equals Null. |
| Argument | The nodeId, targetNodeId or referenceTypeId is a null reference ( |
Remarks
Known results for the service invocation are:
| Status | Description |
|---|---|
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Bad | The server index is not valid. |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Bad | For more details see Bad |

