Moonware.Server.WCF
GetItemsForPeriod Method



Returns the list of alerts based on the provided criterias / filters numRecords / lastItemId can be used for paging (retrieve 50, then skip 50 and retrieve 50 more, ...)
Syntax
'Declaration
 
<OperationBehaviorAttribute()>
<PrincipalPermissionAttribute(Name="", 
   Role="View Library", 
   Authenticated=True, 
   Action=SecurityAction.Demand, 
   Unrestricted=False)>
Public Function GetItemsForPeriod( _
   ByVal sourceId As Integer, _
   ByVal startDate As Long, _
   ByVal endDate As Long, _
   ByVal numRecords As Integer, _
   ByVal lastItemId As Long _
) As List(Of ItemEntry)
'Usage
 
Dim instance As MoonwareServerWCF
Dim sourceId As Integer
Dim startDate As Long
Dim endDate As Long
Dim numRecords As Integer
Dim lastItemId As Long
Dim value As List(Of ItemEntry)
 
value = instance.GetItemsForPeriod(sourceId, startDate, endDate, numRecords, lastItemId)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="View Library", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public List<ItemEntry> GetItemsForPeriod( 
   int sourceId,
   long startDate,
   long endDate,
   int numRecords,
   long lastItemId
)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="View Library", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
List<ItemEntry^>^ GetItemsForPeriod( 
   int sourceId,
   int64 startDate,
   int64 endDate,
   int numRecords,
   int64 lastItemId
) 

Parameters

sourceId
startDate
endDate
numRecords
lastItemId
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

MoonwareServerWCF Class
MoonwareServerWCF Members

Send Feedback