uaPLUS Reference
GetAttributeItemData Method
See Also  Send Feedback
HDAPluginDBA Namespace > DBAPlugin Class : GetAttributeItemData Method

item
idat
contains the attribute IDs on entry and is filled in with the data read from the database.
startTime
If StartTime==DateTime.MinValue then return only the newest value.
endTime

Glossary Item Box

Reads the attributes from the database. At least one attribute before and after the time range must be included in the returned array, unless startTime is DateTime.MinValkue, indicating that only the newest value is to be returned. The returned data has to be sorted for increasing timestamps

Syntax

Visual Basic (Declaration) 
Public Function GetAttributeItemData( _
   ByVal item As ItemInfo, _
   ByVal idat() As DataPointAttr, _
   ByVal startTime As Date, _
   ByVal endTime As Date _
) As Integer
C# 
public int GetAttributeItemData( 
   ItemInfo item,
   DataPointAttr[] idat,
   DateTime startTime,
   DateTime endTime
)

Parameters

item
idat
contains the attribute IDs on entry and is filled in with the data read from the database.
startTime
If StartTime==DateTime.MinValue then return only the newest value.
endTime

Return Value

HRESULT

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.