OPC Historian .NET Server Toolkit Reference
UpdateDeleteAtTime(Int32[],DateTime[],Int32[]) Method

The list of server item handles for the items to be deleted.
The timestamps for the data to be deleted.
Array of HRESULTS indicating whether the corresponding server handle was valid.
Professional Edition only.
This method deletes the values and qualities in the history database for the specified timestamps for one or more items. This method is intended to be used to delete specific data from the history database; e.g., lab data that is incorrect and cannot be correctly reproduced.
Syntax
'Usage
 
Dim instance As AppPlugin
Dim serverHnd() As Integer
Dim timeStamps() As Date
Dim errors As Integer()
Dim value As Integer
 
value = instance.UpdateDeleteAtTime(serverHnd, timeStamps, errors)
public int UpdateDeleteAtTime( 
   int[] serverHnd,
   DateTime[] timeStamps,
   out int[] errors
)

Parameters

serverHnd
The list of server item handles for the items to be deleted.
timeStamps
The timestamps for the data to be deleted.
errors
Array of HRESULTS indicating whether the corresponding server handle was valid.

Return Value

HRESULTS success/error code.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AppPlugin Class
AppPlugin Members
Overload List

 

 


Copyright © 2004-2019 Advosol Inc. All rights reserved

Send Feedback