Reference
OpcClient.DeleteNodeHistoryAtTime Method
Deletes historical values at specific timestamps of the node as defined by the command specified.
Reference
OpcClient.DeleteNodeHistoryAtTime 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 the historical value of the node identified by the nodeId specified at the time specified. |
| Delete | Deletes the historical values of the node identified by the nodeId specified at the times specified. |
| Delete | Deletes the historical values of the node identified by the nodeId specified at the times specified. |
| Delete | Deletes the historical value of the node identified by the nodeId specified at the time specified. |
| Delete | Deletes the historical values of the node identified by the nodeId specified at the times specified. |
| Delete | Deletes the historical values of the node identified by the nodeId specified at the times specified. |
| Delete | Deletes the historical value of the node identified by the nodeId specified at the time specified. |
| Delete | Deletes the historical values of the node identified by the nodeId specified at the times specified. |
| Delete | Deletes the historical values of the node identified by the nodeId specified at the times specified. |
| Delete | Deletes the historical value of the node identified by the nodeId specified at the time specified. |
| Delete | Deletes the historical values of the node identified by the nodeId specified at the times specified. |
| Delete | Deletes the historical values of the node identified by the nodeId specified at the times specified. |
| Delete | Deletes the historical value of the node identified by the nodeId specified at the time specified. |
| Delete | Deletes the historical values of the node identified by the nodeId specified at the times specified. |
| Delete | Deletes the historical values of the node identified by the nodeId specified at the times specified. |
| Delete | Deletes historical values at specific timestamps 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. |
DeleteNodeHistoryAtTime(OpcNodeId, DateTime)
Deletes the historical value of the node identified by the nodeId specified at the time specified.
public OpcStatus DeleteNodeHistoryAtTime(OpcNodeId nodeId, DateTime time)Public Function DeleteNodeHistoryAtTime(
nodeId As OpcNodeId,
time As Date) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node whose history is to be updated. |
time | DateTime | The timestamp of the value to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the time or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId is a null reference ( |
DeleteNodeHistoryAtTime(OpcNodeId, IEnumerable<DateTime>)
Deletes the historical values of the node identified by the nodeId specified at the times specified.
public OpcStatusCollection DeleteNodeHistoryAtTime(
OpcNodeId nodeId,
IEnumerable<DateTime> times)Public Function DeleteNodeHistoryAtTime(
nodeId As OpcNodeId,
times As IEnumerable(Of Date)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node whose history is to be updated. |
times | IEnumerable<DateTime> | A sequence of the timestamps of the values to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each timestamp or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId or the times sequence is a null reference ( |
DeleteNodeHistoryAtTime(OpcNodeId, params DateTime[])
Deletes the historical values of the node identified by the nodeId specified at the times specified.
public OpcStatusCollection DeleteNodeHistoryAtTime(
OpcNodeId nodeId,
params DateTime[] times)Public Function DeleteNodeHistoryAtTime(
nodeId As OpcNodeId,
ParamArray times As Date()) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node whose history is to be updated. |
times | params DateTime[] | An array of the timestamps of the values to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each timestamp or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId or the times array is a null reference ( |
DeleteNodeHistoryAtTime(string, DateTime)
Deletes the historical value of the node identified by the nodeId specified at the time specified.
public OpcStatus DeleteNodeHistoryAtTime(string nodeId, DateTime time)Public Function DeleteNodeHistoryAtTime(
nodeId As String,
time As Date) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
time | DateTime | The timestamp of the value to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the time or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
DeleteNodeHistoryAtTime(string, IEnumerable<DateTime>)
Deletes the historical values of the node identified by the nodeId specified at the times specified.
public OpcStatusCollection DeleteNodeHistoryAtTime(
string nodeId,
IEnumerable<DateTime> times)Public Function DeleteNodeHistoryAtTime(
nodeId As String,
times As IEnumerable(Of Date)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
times | IEnumerable<DateTime> | A sequence of the timestamps of the values to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each timestamp or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The times sequence is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
DeleteNodeHistoryAtTime(string, params DateTime[])
Deletes the historical values of the node identified by the nodeId specified at the times specified.
public OpcStatusCollection DeleteNodeHistoryAtTime(
string nodeId,
params DateTime[] times)Public Function DeleteNodeHistoryAtTime(
nodeId As String,
ParamArray times As Date()) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
times | params DateTime[] | An array of the timestamps of the values to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each timestamp or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The times array is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
DeleteNodeHistoryAtTime(int, DateTime)
Deletes the historical value of the node identified by the nodeId specified at the time specified.
public OpcStatusCollection DeleteNodeHistoryAtTime(int nodeId, DateTime time)Public Function DeleteNodeHistoryAtTime(
nodeId As Integer,
time As Date) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
time | DateTime | The timestamp of the value to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the time or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
DeleteNodeHistoryAtTime(int, IEnumerable<DateTime>)
Deletes the historical values of the node identified by the nodeId specified at the times specified.
public OpcStatusCollection DeleteNodeHistoryAtTime(
int nodeId,
IEnumerable<DateTime> times)Public Function DeleteNodeHistoryAtTime(
nodeId As Integer,
times As IEnumerable(Of Date)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
times | IEnumerable<DateTime> | A sequence of the timestamps of the values to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each timestamp or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The times sequence is a null reference ( |
DeleteNodeHistoryAtTime(int, params DateTime[])
Deletes the historical values of the node identified by the nodeId specified at the times specified.
public OpcStatusCollection DeleteNodeHistoryAtTime(
int nodeId,
params DateTime[] times)Public Function DeleteNodeHistoryAtTime(
nodeId As Integer,
ParamArray times As Date()) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
times | params DateTime[] | An array of the timestamps of the values to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each timestamp or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The times array is a null reference ( |
DeleteNodeHistoryAtTime(string, int, DateTime)
Deletes the historical value of the node identified by the nodeId specified at the time specified.
public OpcStatus DeleteNodeHistoryAtTime(
string nodeId,
int namespaceIndex,
DateTime time)Public Function DeleteNodeHistoryAtTime(
nodeId As String,
namespaceIndex As Integer,
time As Date) As OpcStatusParameters
| 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. |
time | DateTime | The timestamp of the value to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the time or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
DeleteNodeHistoryAtTime(string, int, IEnumerable<DateTime>)
Deletes the historical values of the node identified by the nodeId specified at the times specified.
public OpcStatusCollection DeleteNodeHistoryAtTime(
string nodeId,
int namespaceIndex,
IEnumerable<DateTime> times)Public Function DeleteNodeHistoryAtTime(
nodeId As String,
namespaceIndex As Integer,
times As IEnumerable(Of 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. |
times | IEnumerable<DateTime> | A sequence of the timestamps of the values to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each timestamp or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The times sequence is a null reference ( |
DeleteNodeHistoryAtTime(string, int, params DateTime[])
Deletes the historical values of the node identified by the nodeId specified at the times specified.
public OpcStatusCollection DeleteNodeHistoryAtTime(
string nodeId,
int namespaceIndex,
params DateTime[] times)Public Function DeleteNodeHistoryAtTime(
nodeId As String,
namespaceIndex As Integer,
ParamArray times 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. |
times | params DateTime[] | An array of the timestamps of the values to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each timestamp or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The times array is a null reference ( |
DeleteNodeHistoryAtTime(int, int, DateTime)
Deletes the historical value of the node identified by the nodeId specified at the time specified.
public OpcStatus DeleteNodeHistoryAtTime(
int nodeId,
int namespaceIndex,
DateTime time)Public Function DeleteNodeHistoryAtTime(
nodeId As Integer,
namespaceIndex As Integer,
time As Date) As OpcStatusParameters
| 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. |
time | DateTime | The timestamp of the value to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for the time or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
DeleteNodeHistoryAtTime(int, int, IEnumerable<DateTime>)
Deletes the historical values of the node identified by the nodeId specified at the times specified.
public OpcStatusCollection DeleteNodeHistoryAtTime(
int nodeId,
int namespaceIndex,
IEnumerable<DateTime> times)Public Function DeleteNodeHistoryAtTime(
nodeId As Integer,
namespaceIndex As Integer,
times As IEnumerable(Of 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. |
times | IEnumerable<DateTime> | A sequence of the timestamps of the values to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each timestamp or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The times sequence is a null reference ( |
DeleteNodeHistoryAtTime(int, int, params DateTime[])
Deletes the historical values of the node identified by the nodeId specified at the times specified.
public OpcStatusCollection DeleteNodeHistoryAtTime(
int nodeId,
int namespaceIndex,
params DateTime[] times)Public Function DeleteNodeHistoryAtTime(
nodeId As Integer,
namespaceIndex As Integer,
ParamArray times 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. |
times | params DateTime[] | An array of the timestamps of the values to delete. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each timestamp or, if it reports no status per timestamp, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The times array is a null reference ( |
DeleteNodeHistoryAtTime(OpcDeleteNodeHistoryAtTime)
Deletes historical values at specific timestamps of the node as defined by the command specified.
public OpcStatusCollection DeleteNodeHistoryAtTime(
OpcDeleteNodeHistoryAtTime command)Public Function DeleteNodeHistoryAtTime(
command As OpcDeleteNodeHistoryAtTime) 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 ( |

