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.
Visual Basic (Declaration) | |
---|---|
Function GetAnnotations( _ ByVal item As ItemInfo, _ ByVal startTime As Date, _ ByVal endTime As Date _ ) As DataPointAnnotation() |
Parameters
- item
- startTime
- endTime
Return Value
HRESULTTarget Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family