JAMS Developer Guide
Find(Int32,DateTime,DateTime,Options,Server) Method


MVPSI.JAMS Namespace > Schedule Class > Find Method : Find(Int32,DateTime,DateTime,Options,Server) Method
If specified, only this job will be conssidered.
Returns a collection of jobs and setups that should run between two points in time.
Syntax
'Declaration
 
Public Overloads Shared Function Find( _
   ByVal jobID As System.Integer, _
   ByVal queryStartDate As System.Date, _
   ByVal queryEndDate As System.Date, _
   ByVal queryOptions As Schedule.Options, _
   ByVal js As Server _
) As System.Collections.Generic.ICollection(Of ScheduleEntry)
'Usage
 
Dim jobID As System.Integer
Dim queryStartDate As System.Date
Dim queryEndDate As System.Date
Dim queryOptions As Schedule.Options
Dim js As Server
Dim value As System.Collections.Generic.ICollection(Of ScheduleEntry)
 
value = Schedule.Find(jobID, queryStartDate, queryEndDate, queryOptions, js)
public static System.Collections.Generic.ICollection<ScheduleEntry> Find( 
   System.int jobID,
   System.DateTime queryStartDate,
   System.DateTime queryEndDate,
   Schedule.Options queryOptions,
   Server js
)

Parameters

jobID
If specified, only this job will be conssidered.
queryStartDate
queryEndDate
queryOptions
js
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

Schedule Class
Schedule Members
Overload List