OPC Historian .NET Server Toolkit Reference
GetAnnotations Method (DBAPlugin)

Database access helper method.
Reads annotations from the database into a DataPointAnnotation array. At least one data point before and after the time range must be included in the returned array. The returned data has to be sorted for increasing timestamps. On error throw a HDAException with the error code that is to be rturned to the client.
Syntax
'Usage
 
Dim instance As DBAPlugin
Dim item As ItemInfo
Dim startTime As Date
Dim endTime As Date
Dim value() As DataPointAnnotation
 
value = instance.GetAnnotations(item, startTime, endTime)
public DataPointAnnotation[] GetAnnotations( 
   ItemInfo item,
   DateTime startTime,
   DateTime endTime
)

Parameters

item
startTime
endTime

Return Value

HRESULT
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

DBAPlugin Class
DBAPlugin Members

 

 


Copyright © 2004-2019 Advosol Inc. All rights reserved

Send Feedback