Skip to content

Reference

OpcClient.DeleteNodesHistoryModified Method

Deletes modified historical values of the nodes as defined by the commands specified using a single history update service request.

Reference

OpcClient.DeleteNodesHistoryModified 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

2 overloads

OverloadDescription
DeleteNodesHistoryModified(IEnumerable<OpcDeleteNodeHistoryModified>)Deletes modified historical values of the nodes as defined by the commands specified using a single history update service request.
DeleteNodesHistoryModified(params OpcDeleteNodeHistoryModified[])Deletes modified historical values of the nodes as defined by the commands specified using a single history update service request.

Exceptions (all overloads)

ExceptionCondition
OpcExceptionThe client is not connected to the server or the service execution failed upon different circumstances; for more details see exception details.
ObjectDisposedExceptionThe object has been disposed of.

DeleteNodesHistoryModified(IEnumerable<OpcDeleteNodeHistoryModified>) ​

Deletes modified historical values of the nodes as defined by the commands specified using a single history update service request.

csharp
public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistoryModified(
    IEnumerable<OpcDeleteNodeHistoryModified> commands)
vbnet
Public Function DeleteNodesHistoryModified(
    commands As IEnumerable(Of OpcDeleteNodeHistoryModified)) As IDictionary(Of OpcNodeId, OpcStatusCollection)

Parameters

NameTypeDescription
commandsIEnumerable<OpcDeleteNodeHistoryModified>A sequence of OpcDeleteNodeHistoryModified commands, each defining the node and the period of the modified values to delete from its history.

Returns

IDictionary<OpcNodeId, OpcStatusCollection>

A dictionary which provides for each node an OpcStatusCollection with the OpcStatus instances the server reports for the command.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe commands sequence or one of its items is a null reference (Nothing in Visual Basic).
LicenseExceptionThe 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.

DeleteNodesHistoryModified(params OpcDeleteNodeHistoryModified[]) ​

Deletes modified historical values of the nodes as defined by the commands specified using a single history update service request.

csharp
public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistoryModified(
    params OpcDeleteNodeHistoryModified[] commands)
vbnet
Public Function DeleteNodesHistoryModified(
    ParamArray commands As OpcDeleteNodeHistoryModified()) As IDictionary(Of OpcNodeId, OpcStatusCollection)

Parameters

NameTypeDescription
commandsparams OpcDeleteNodeHistoryModified[]An array of OpcDeleteNodeHistoryModified commands, each defining the node and the period of the modified values to delete from its history.

Returns

IDictionary<OpcNodeId, OpcStatusCollection>

A dictionary which provides for each node an OpcStatusCollection with the OpcStatus instances the server reports for the command.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe commands array or one of its items is a null reference (Nothing in Visual Basic).

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.