Reference
OpcClient.DeleteNodesHistoryAtTime Method
Deletes historical values at specific timestamps of the nodes as defined by the commands specified using a single history update service request.
Reference
OpcClient.DeleteNodesHistoryAtTime 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 historical values at specific timestamps of the nodes as defined by the commands specified using a single history update service request. |
| Delete | Deletes historical values at specific timestamps of the nodes as defined by the commands specified using a single history update service request. |
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. |
DeleteNodesHistoryAtTime(IEnumerable<OpcDeleteNodeHistoryAtTime>)
Deletes historical values at specific timestamps of the nodes as defined by the commands specified using a single history update service request.
public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistoryAtTime(
IEnumerable<OpcDeleteNodeHistoryAtTime> commands)Public Function DeleteNodesHistoryAtTime(
commands As IEnumerable(Of OpcDeleteNodeHistoryAtTime)) As IDictionary(Of OpcNodeId, OpcStatusCollection)Parameters
| Name | Type | Description |
|---|---|---|
commands | IEnumerable<Opc | A sequence of Opc |
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
A dictionary which provides for each node an OpcStatusCollection with the OpcStatus instances the server reports for the command.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands sequence or one of its items is a null reference ( |
| LicenseException | The license is expired. |
Remarks
In case there several commands refer to the same node, the status results of these commands are combined in the collection of that node in the order of the commands. In case there the server reports no status per value for a command, the collection holds the status of the command for the node instead.
DeleteNodesHistoryAtTime(params OpcDeleteNodeHistoryAtTime[])
Deletes historical values at specific timestamps of the nodes as defined by the commands specified using a single history update service request.
public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistoryAtTime(
params OpcDeleteNodeHistoryAtTime[] commands)Public Function DeleteNodesHistoryAtTime(
ParamArray commands As OpcDeleteNodeHistoryAtTime()) As IDictionary(Of OpcNodeId, OpcStatusCollection)Parameters
| Name | Type | Description |
|---|---|---|
commands | params Opc | An array of Opc |
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
A dictionary which provides for each node an OpcStatusCollection with the OpcStatus instances the server reports for the command.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands array or one of its items is a null reference ( |
Remarks
In case there several commands refer to the same node, the status results of these commands are combined in the collection of that node in the order of the commands. In case there the server reports no status per value for a command, the collection holds the status of the command for the node instead.

