Reference
OpcDeleteReference Members
Defines a single command of the IOpcDeleteReferencesService used to delete a logical reference between one and another node.
Reference
OpcDeleteReference Members
- Type
- OpcDeleteReference
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Inherits members from OpcNodeServiceCommand, OpcServiceCommand.
Constructors
OpcDeleteReference
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opc |
| Opc | Initializes a new instance of the Opcdirection specified. |
| Opc | Initializes a new instance of the Opcdirection specified. |
| Opc | Initializes a new instance of the Opcdirection specified. |
OpcDeleteReference(OpcNodeId, OpcNodeId)
Initializes a new instance of the OpcDeleteReference class 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 OpcDeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId)Public Sub New(nodeId As OpcNodeId, targetNodeId As OpcNodeId)Parameters
| 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. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId or targetNodeId is equals Null. |
| Argument | The nodeId or targetNodeId is a null reference ( |
OpcDeleteReference(OpcNodeId, OpcNodeId, OpcReferenceDirection?)
Initializes a new instance of the OpcDeleteReference class 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 OpcDeleteReference(
OpcNodeId nodeId,
OpcNodeId targetNodeId,
OpcReferenceDirection? direction)Public Sub New(
nodeId As OpcNodeId,
targetNodeId As OpcNodeId,
direction As OpcReferenceDirection?)Parameters
| 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 |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId or targetNodeId is equals Null. |
| Argument | The nodeId or targetNodeId is a null reference ( |
OpcDeleteReference(OpcNodeId, OpcNodeId, OpcReferenceDirection?, OpcReferenceType)
Initializes a new instance of the OpcDeleteReference class 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 OpcDeleteReference(
OpcNodeId nodeId,
OpcNodeId targetNodeId,
OpcReferenceDirection? direction,
OpcReferenceType referenceType)Public Sub New(
nodeId As OpcNodeId,
targetNodeId As OpcNodeId,
direction As OpcReferenceDirection?,
referenceType As OpcReferenceType)Parameters
| 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. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId or targetNodeId is equals Null. |
| Argument | The nodeId or targetNodeId is a null reference ( |
OpcDeleteReference(OpcNodeId, OpcNodeId, OpcReferenceDirection?, OpcNodeId)
Initializes a new instance of the OpcDeleteReference class 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 OpcDeleteReference(
OpcNodeId nodeId,
OpcNodeId targetNodeId,
OpcReferenceDirection? direction,
OpcNodeId referenceTypeId)Public Sub New(
nodeId As OpcNodeId,
targetNodeId As OpcNodeId,
direction As OpcReferenceDirection?,
referenceTypeId As OpcNodeId)Parameters
| 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. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId, targetNodeId or referenceTypeId is equals Null. |
| Argument | The nodeId, targetNodeId or referenceTypeId is a null reference ( |
Properties
Direction
Gets a value indicating the logical direction of the reference to delete.
public OpcReferenceDirection? Direction { get; }Public ReadOnly Property Direction As OpcReferenceDirection?Property value
Nullable<OpcReferenceDirection>
One of the members defined by the OpcReferenceDirection enumeration indicating which relation is to be deleted or a null reference (Nothing in Visual Basic) in case there the relations are to be deleted bidirectional. The default value is a null reference (Nothing in Visual Basic).
ReferenceType
Gets a value which defines a pre-defined used ReferenceTypeId as one of the members defined by the OpcReferenceType enumeration to simplify querying standard reference types.
public OpcReferenceType ReferenceType { get; }Public ReadOnly Property ReferenceType As OpcReferenceTypeProperty value
One of the members defined by the OpcReferenceType enumeration. The default value is Organizes.
ReferenceTypeId
Gets the identifier which identifies the node that defines the semantic of the reference between the source and the target node and generally reflects an operation between the two, such as "A contains B".
public OpcNodeId ReferenceTypeId { get; }Public ReadOnly Property ReferenceTypeId As OpcNodeIdProperty value
The OpcNodeId of the reference type node which defines the relation semantic between the source and the target node. The default value is Organizes.
TargetNodeId
Gets the identifier which identifies the target node which acts as the opponent in the reference to delete between the source node (identified by NodeId) the target node.
public OpcNodeId TargetNodeId { get; }Public ReadOnly Property TargetNodeId As OpcNodeIdProperty value
The OpcNodeId of the target node acting as the opponent of the reference to delete.

