Skip to content

Reference

OpcClient.DeleteNodeHistoryModified Method

Deletes all modified historical values of the node identified by the nodeId specified.

Reference

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

16 overloads

OverloadDescription
DeleteNodeHistoryModified(OpcNodeId)Deletes all modified historical values of the node identified by the nodeId specified.
DeleteNodeHistoryModified(OpcNodeId, DateTime?)Deletes the modified historical values of the node identified by the nodeId specified beginning at the startTime specified.
DeleteNodeHistoryModified(OpcNodeId, DateTime?, DateTime?)Deletes the modified historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.
DeleteNodeHistoryModified(string)Deletes all modified historical values of the node identified by the nodeId specified.
DeleteNodeHistoryModified(string, DateTime?)Deletes the modified historical values of the node identified by the nodeId specified beginning at the startTime specified.
DeleteNodeHistoryModified(string, DateTime?, DateTime?)Deletes the modified historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.
DeleteNodeHistoryModified(int)Deletes all modified historical values of the node identified by the nodeId specified.
DeleteNodeHistoryModified(int, DateTime?)Deletes the modified historical values of the node identified by the nodeId specified beginning at the startTime specified.
DeleteNodeHistoryModified(int, DateTime?, DateTime?)Deletes the modified historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.
DeleteNodeHistoryModified(string, int)Deletes all modified historical values of the node identified by the nodeId specified.
DeleteNodeHistoryModified(string, int, DateTime?)Deletes the modified historical values of the node identified by the nodeId specified beginning at the startTime specified.
DeleteNodeHistoryModified(string, int, DateTime?, DateTime?)Deletes the modified historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.
DeleteNodeHistoryModified(int, int)Deletes all modified historical values of the node identified by the nodeId specified.
DeleteNodeHistoryModified(int, int, DateTime?)Deletes the modified historical values of the node identified by the nodeId specified beginning at the startTime specified.
DeleteNodeHistoryModified(int, int, DateTime?, DateTime?)Deletes the modified historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.
DeleteNodeHistoryModified(OpcDeleteNodeHistoryModified)Deletes modified historical values of the node as defined by the command specified.

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.

DeleteNodeHistoryModified(OpcNodeId) ​

Deletes all modified historical values of the node identified by the nodeId specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(OpcNodeId nodeId)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As OpcNodeId) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node whose history is to be updated.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null identifier (see IsNull).
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The period deleted begins at MinValue and ends at MaxValue.

DeleteNodeHistoryModified(OpcNodeId, DateTime?) ​

Deletes the modified historical values of the node identified by the nodeId specified beginning at the startTime specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(
    OpcNodeId nodeId,
    DateTime? startTime)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As OpcNodeId,
    startTime As Date?) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node whose history is to be updated.
startTimeNullable<DateTime>The beginning of the period to delete or a null reference (Nothing in Visual Basic) to delete beginning at MinValue.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null identifier (see IsNull).
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

Remarks

The period deleted ends at MaxValue.

DeleteNodeHistoryModified(OpcNodeId, DateTime?, DateTime?) ​

Deletes the modified historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(
    OpcNodeId nodeId,
    DateTime? startTime,
    DateTime? endTime)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As OpcNodeId,
    startTime As Date?,
    endTime As Date?) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node whose history is to be updated.
startTimeNullable<DateTime>The beginning of the period to delete or a null reference (Nothing in Visual Basic) to delete beginning at MinValue.
endTimeNullable<DateTime>The end of the period to delete or a null reference (Nothing in Visual Basic) to delete up to MaxValue.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null identifier (see IsNull).
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

DeleteNodeHistoryModified(string) ​

Deletes all modified historical values of the node identified by the nodeId specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(string nodeId)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As String) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node whose history is to be updated.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null reference (Nothing in Visual Basic) or equals Empty, which results in a null identifier (see IsNull).
FormatExceptionThe nodeId is not a valid node identifier expression (see Parse) and AlwaysParseStringIdentifiers is false.

Remarks

The period deleted begins at MinValue and ends at MaxValue.

DeleteNodeHistoryModified(string, DateTime?) ​

Deletes the modified historical values of the node identified by the nodeId specified beginning at the startTime specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(
    string nodeId,
    DateTime? startTime)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As String,
    startTime As Date?) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node whose history is to be updated.
startTimeNullable<DateTime>The beginning of the period to delete or a null reference (Nothing in Visual Basic) to delete beginning at MinValue.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null reference (Nothing in Visual Basic) or equals Empty, which results in a null identifier (see IsNull).
FormatExceptionThe nodeId is not a valid node identifier expression (see Parse) and AlwaysParseStringIdentifiers is false.

Remarks

The period deleted ends at MaxValue.

DeleteNodeHistoryModified(string, DateTime?, DateTime?) ​

Deletes the modified historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(
    string nodeId,
    DateTime? startTime,
    DateTime? endTime)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As String,
    startTime As Date?,
    endTime As Date?) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node whose history is to be updated.
startTimeNullable<DateTime>The beginning of the period to delete or a null reference (Nothing in Visual Basic) to delete beginning at MinValue.
endTimeNullable<DateTime>The end of the period to delete or a null reference (Nothing in Visual Basic) to delete up to MaxValue.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null reference (Nothing in Visual Basic) or equals Empty, which results in a null identifier (see IsNull).
FormatExceptionThe nodeId is not a valid node identifier expression (see Parse) and AlwaysParseStringIdentifiers is false.

DeleteNodeHistoryModified(int) ​

Deletes all modified historical values of the node identified by the nodeId specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(int nodeId)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As Integer) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node whose history is to be updated.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is equals zero, which results in a null identifier (see IsNull).

Remarks

The period deleted begins at MinValue and ends at MaxValue.

DeleteNodeHistoryModified(int, DateTime?) ​

Deletes the modified historical values of the node identified by the nodeId specified beginning at the startTime specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(
    int nodeId,
    DateTime? startTime)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As Integer,
    startTime As Date?) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node whose history is to be updated.
startTimeNullable<DateTime>The beginning of the period to delete or a null reference (Nothing in Visual Basic) to delete beginning at MinValue.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is equals zero, which results in a null identifier (see IsNull).

Remarks

The period deleted ends at MaxValue.

DeleteNodeHistoryModified(int, DateTime?, DateTime?) ​

Deletes the modified historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(
    int nodeId,
    DateTime? startTime,
    DateTime? endTime)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As Integer,
    startTime As Date?,
    endTime As Date?) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node whose history is to be updated.
startTimeNullable<DateTime>The beginning of the period to delete or a null reference (Nothing in Visual Basic) to delete beginning at MinValue.
endTimeNullable<DateTime>The end of the period to delete or a null reference (Nothing in Visual Basic) to delete up to MaxValue.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is equals zero, which results in a null identifier (see IsNull).

DeleteNodeHistoryModified(string, int) ​

Deletes all modified historical values of the node identified by the nodeId specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(
    string nodeId,
    int namespaceIndex)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As String,
    namespaceIndex As Integer) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node whose history is to be updated.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null reference (Nothing in Visual Basic) or equals Empty, which results in a null identifier (see IsNull).

Remarks

The period deleted begins at MinValue and ends at MaxValue.

DeleteNodeHistoryModified(string, int, DateTime?) ​

Deletes the modified historical values of the node identified by the nodeId specified beginning at the startTime specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(
    string nodeId,
    int namespaceIndex,
    DateTime? startTime)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As String,
    namespaceIndex As Integer,
    startTime As Date?) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node whose history is to be updated.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
startTimeNullable<DateTime>The beginning of the period to delete or a null reference (Nothing in Visual Basic) to delete beginning at MinValue.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null reference (Nothing in Visual Basic) or equals Empty, which results in a null identifier (see IsNull).

Remarks

The period deleted ends at MaxValue.

DeleteNodeHistoryModified(string, int, DateTime?, DateTime?) ​

Deletes the modified historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(
    string nodeId,
    int namespaceIndex,
    DateTime? startTime,
    DateTime? endTime)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As String,
    namespaceIndex As Integer,
    startTime As Date?,
    endTime As Date?) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node whose history is to be updated.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
startTimeNullable<DateTime>The beginning of the period to delete or a null reference (Nothing in Visual Basic) to delete beginning at MinValue.
endTimeNullable<DateTime>The end of the period to delete or a null reference (Nothing in Visual Basic) to delete up to MaxValue.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null reference (Nothing in Visual Basic) or equals Empty, which results in a null identifier (see IsNull).

DeleteNodeHistoryModified(int, int) ​

Deletes all modified historical values of the node identified by the nodeId specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(
    int nodeId,
    int namespaceIndex)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As Integer,
    namespaceIndex As Integer) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node whose history is to be updated.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is equals zero, which results in a null identifier (see IsNull).

Remarks

The period deleted begins at MinValue and ends at MaxValue.

DeleteNodeHistoryModified(int, int, DateTime?) ​

Deletes the modified historical values of the node identified by the nodeId specified beginning at the startTime specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(
    int nodeId,
    int namespaceIndex,
    DateTime? startTime)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As Integer,
    namespaceIndex As Integer,
    startTime As Date?) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node whose history is to be updated.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
startTimeNullable<DateTime>The beginning of the period to delete or a null reference (Nothing in Visual Basic) to delete beginning at MinValue.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is equals zero, which results in a null identifier (see IsNull).

Remarks

The period deleted ends at MaxValue.

DeleteNodeHistoryModified(int, int, DateTime?, DateTime?) ​

Deletes the modified historical values of the node identified by the nodeId specified within the period defined by the startTime and endTime specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(
    int nodeId,
    int namespaceIndex,
    DateTime? startTime,
    DateTime? endTime)
vbnet
Public Function DeleteNodeHistoryModified(
    nodeId As Integer,
    namespaceIndex As Integer,
    startTime As Date?,
    endTime As Date?) As OpcStatusCollection

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node whose history is to be updated.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
startTimeNullable<DateTime>The beginning of the period to delete or a null reference (Nothing in Visual Basic) to delete beginning at MinValue.
endTimeNullable<DateTime>The end of the period to delete or a null reference (Nothing in Visual Basic) to delete up to MaxValue.

Returns

OpcStatusCollection

An OpcStatusCollection with the OpcStatus the server reports for the deletion.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is equals zero, which results in a null identifier (see IsNull).

DeleteNodeHistoryModified(OpcDeleteNodeHistoryModified) ​

Deletes modified historical values of the node as defined by the command specified.

csharp
public OpcStatusCollection DeleteNodeHistoryModified(
    OpcDeleteNodeHistoryModified command)
vbnet
Public Function DeleteNodeHistoryModified(
    command As OpcDeleteNodeHistoryModified) As OpcStatusCollection

Parameters

NameTypeDescription
commandOpcDeleteNodeHistoryModifiedThe OpcDeleteNodeHistoryModified command which defines the node and the period of the modified values to delete from its history.

Returns

OpcStatusCollection

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

ExceptionCondition
ArgumentNullExceptionThe command is a null reference (Nothing in Visual Basic).