Reference
OpcClient.DeleteNodeHistory Method
Deletes all raw historical values of the node identified by the nodeId specified.
Reference
OpcClient.DeleteNodeHistory 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 |
|---|---|
| Delete | Deletes all raw historical values of the node identified by the nodeId specified. |
| Delete | Deletes the raw historical values of the node identified by the nodeId specified beginning at the startTime specified. |
| Delete | Deletes the raw historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified. |
| Delete | Deletes all raw historical values of the node identified by the nodeId specified. |
| Delete | Deletes the raw historical values of the node identified by the nodeId specified beginning at the startTime specified. |
| Delete | Deletes the raw historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified. |
| Delete | Deletes all raw historical values of the node identified by the nodeId specified. |
| Delete | Deletes the raw historical values of the node identified by the nodeId specified beginning at the startTime specified. |
| Delete | Deletes the raw historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified. |
| Delete | Deletes all raw historical values of the node identified by the nodeId specified. |
| Delete | Deletes the raw historical values of the node identified by the nodeId specified beginning at the startTime specified. |
| Delete | Deletes the raw historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified. |
| Delete | Deletes all raw historical values of the node identified by the nodeId specified. |
| Delete | Deletes the raw historical values of the node identified by the nodeId specified beginning at the startTime specified. |
| Delete | Deletes the raw historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified. |
| Delete | Deletes raw historical values of the node as defined by the command specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| OpcException | The client is not connected to the server or the service execution failed upon different circumstances; for more details see exception details. |
| Object | The object has been disposed of. |
DeleteNodeHistory(OpcNodeId)
Deletes all raw historical values of the node identified by the nodeId specified.
public OpcStatusCollection DeleteNodeHistory(OpcNodeId nodeId)Public Function DeleteNodeHistory(nodeId As OpcNodeId) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node whose history is to be updated. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId is a null reference ( |
Remarks
The period deleted begins at MinValue and ends at MaxValue.
DeleteNodeHistory(OpcNodeId, DateTime?)
Deletes the raw historical values of the node identified by the nodeId specified beginning at the startTime specified.
public OpcStatusCollection DeleteNodeHistory(
OpcNodeId nodeId,
DateTime? startTime)Public Function DeleteNodeHistory(
nodeId As OpcNodeId,
startTime As Date?) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node whose history is to be updated. |
startTime | Nullable<DateTime> | The beginning of the period to delete or a null reference ( |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId is a null reference ( |
Remarks
The period deleted ends at MaxValue.
DeleteNodeHistory(OpcNodeId, DateTime?, DateTime?)
Deletes the raw historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.
public OpcStatusCollection DeleteNodeHistory(
OpcNodeId nodeId,
DateTime? startTime,
DateTime? endTime)Public Function DeleteNodeHistory(
nodeId As OpcNodeId,
startTime As Date?,
endTime As Date?) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node whose history is to be updated. |
startTime | Nullable<DateTime> | The beginning of the period to delete or a null reference ( |
endTime | Nullable<DateTime> | The end of the period to delete or a null reference ( |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId is a null reference ( |
DeleteNodeHistory(string)
Deletes all raw historical values of the node identified by the nodeId specified.
public OpcStatusCollection DeleteNodeHistory(string nodeId)Public Function DeleteNodeHistory(nodeId As String) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
Remarks
The period deleted begins at MinValue and ends at MaxValue.
DeleteNodeHistory(string, DateTime?)
Deletes the raw historical values of the node identified by the nodeId specified beginning at the startTime specified.
public OpcStatusCollection DeleteNodeHistory(string nodeId, DateTime? startTime)Public Function DeleteNodeHistory(
nodeId As String,
startTime As Date?) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
startTime | Nullable<DateTime> | The beginning of the period to delete or a null reference ( |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
Remarks
The period deleted ends at MaxValue.
DeleteNodeHistory(string, DateTime?, DateTime?)
Deletes the raw historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.
public OpcStatusCollection DeleteNodeHistory(
string nodeId,
DateTime? startTime,
DateTime? endTime)Public Function DeleteNodeHistory(
nodeId As String,
startTime As Date?,
endTime As Date?) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
startTime | Nullable<DateTime> | The beginning of the period to delete or a null reference ( |
endTime | Nullable<DateTime> | The end of the period to delete or a null reference ( |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
DeleteNodeHistory(int)
Deletes all raw historical values of the node identified by the nodeId specified.
public OpcStatusCollection DeleteNodeHistory(int nodeId)Public Function DeleteNodeHistory(nodeId As Integer) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
Remarks
The period deleted begins at MinValue and ends at MaxValue.
DeleteNodeHistory(int, DateTime?)
Deletes the raw historical values of the node identified by the nodeId specified beginning at the startTime specified.
public OpcStatusCollection DeleteNodeHistory(int nodeId, DateTime? startTime)Public Function DeleteNodeHistory(
nodeId As Integer,
startTime As Date?) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
startTime | Nullable<DateTime> | The beginning of the period to delete or a null reference ( |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
Remarks
The period deleted ends at MaxValue.
DeleteNodeHistory(int, DateTime?, DateTime?)
Deletes the raw historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.
public OpcStatusCollection DeleteNodeHistory(
int nodeId,
DateTime? startTime,
DateTime? endTime)Public Function DeleteNodeHistory(
nodeId As Integer,
startTime As Date?,
endTime As Date?) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
startTime | Nullable<DateTime> | The beginning of the period to delete or a null reference ( |
endTime | Nullable<DateTime> | The end of the period to delete or a null reference ( |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
DeleteNodeHistory(string, int)
Deletes all raw historical values of the node identified by the nodeId specified.
public OpcStatusCollection DeleteNodeHistory(string nodeId, int namespaceIndex)Public Function DeleteNodeHistory(
nodeId As String,
namespaceIndex As Integer) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
Remarks
The period deleted begins at MinValue and ends at MaxValue.
DeleteNodeHistory(string, int, DateTime?)
Deletes the raw historical values of the node identified by the nodeId specified beginning at the startTime specified.
public OpcStatusCollection DeleteNodeHistory(
string nodeId,
int namespaceIndex,
DateTime? startTime)Public Function DeleteNodeHistory(
nodeId As String,
namespaceIndex As Integer,
startTime As Date?) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
startTime | Nullable<DateTime> | The beginning of the period to delete or a null reference ( |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
Remarks
The period deleted ends at MaxValue.
DeleteNodeHistory(string, int, DateTime?, DateTime?)
Deletes the raw historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.
public OpcStatusCollection DeleteNodeHistory(
string nodeId,
int namespaceIndex,
DateTime? startTime,
DateTime? endTime)Public Function DeleteNodeHistory(
nodeId As String,
namespaceIndex As Integer,
startTime As Date?,
endTime As Date?) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
startTime | Nullable<DateTime> | The beginning of the period to delete or a null reference ( |
endTime | Nullable<DateTime> | The end of the period to delete or a null reference ( |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
DeleteNodeHistory(int, int)
Deletes all raw historical values of the node identified by the nodeId specified.
public OpcStatusCollection DeleteNodeHistory(int nodeId, int namespaceIndex)Public Function DeleteNodeHistory(
nodeId As Integer,
namespaceIndex As Integer) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
Remarks
The period deleted begins at MinValue and ends at MaxValue.
DeleteNodeHistory(int, int, DateTime?)
Deletes the raw historical values of the node identified by the nodeId specified beginning at the startTime specified.
public OpcStatusCollection DeleteNodeHistory(
int nodeId,
int namespaceIndex,
DateTime? startTime)Public Function DeleteNodeHistory(
nodeId As Integer,
namespaceIndex As Integer,
startTime As Date?) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
startTime | Nullable<DateTime> | The beginning of the period to delete or a null reference ( |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
Remarks
The period deleted ends at MaxValue.
DeleteNodeHistory(int, int, DateTime?, DateTime?)
Deletes the raw historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.
public OpcStatusCollection DeleteNodeHistory(
int nodeId,
int namespaceIndex,
DateTime? startTime,
DateTime? endTime)Public Function DeleteNodeHistory(
nodeId As Integer,
namespaceIndex As Integer,
startTime As Date?,
endTime As Date?) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
startTime | Nullable<DateTime> | The beginning of the period to delete or a null reference ( |
endTime | Nullable<DateTime> | The end of the period to delete or a null reference ( |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the deletion.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
DeleteNodeHistory(OpcDeleteNodeHistory)
Deletes raw historical values of the node as defined by the command specified.
public OpcStatusCollection DeleteNodeHistory(OpcDeleteNodeHistory command)Public Function DeleteNodeHistory(
command As OpcDeleteNodeHistory) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
command | Opc | The Opc |
Returns
An OpcStatusCollection with the OpcStatus instances the server reports for the command or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The command is a null reference ( |

