This synchronous function deletes the values and qualities in the history database for the specified timestamps for one or more items.
This function 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.
Visual Basic (Declaration) | |
---|---|
Public Overloads Function DeleteAtTime( _ ByVal server() As Integer, _ ByVal timeStamps() As Date, _ ByRef errors As Integer() _ ) As Integer |
Parameters
- server
- The list of server item handles for the items to be deleted.
- timeStamps
- The timestamps for the data to be deleted.
- errors
- OUT: Array of HRESULTs indicating the success of the individual item deletes. The errors correspond to the timestamps passed in server.
Return Value
S_OK, S_FALSE, E_NOTIMPL, E_FAILTarget Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.x