JAMS Developer Guide
Find(String,String,DateTime,DateTime,Options) Method


MVPSI.JAMS Namespace > Schedule Class > Find Method : Find(String,String,DateTime,DateTime,Options) Method
Only Jobs and Setups that are in or descendants of this folder will be included
Only jobs and setups that have a system name that matches this name will be included. The default is to match all systems.
The beginning of the schedule period.
The end of the schedule period.
Zero or more JAMS.Schedule.Options.
Generates a list of jobs that should run within the specified period of time.
Syntax
'Declaration
 
Public Overloads Shared Function Find( _
   ByVal folderName As System.String, _
   ByVal queryName As System.String, _
   ByVal queryStartDate As System.Date, _
   ByVal queryEndDate As System.Date, _
   ByVal queryOptions As Schedule.Options _
) As System.Collections.Generic.ICollection(Of ScheduleEntry)
'Usage
 
Dim folderName As System.String
Dim queryName As System.String
Dim queryStartDate As System.Date
Dim queryEndDate As System.Date
Dim queryOptions As Schedule.Options
Dim value As System.Collections.Generic.ICollection(Of ScheduleEntry)
 
value = Schedule.Find(folderName, queryName, queryStartDate, queryEndDate, queryOptions)
public static System.Collections.Generic.ICollection<ScheduleEntry> Find( 
   System.string folderName,
   System.string queryName,
   System.DateTime queryStartDate,
   System.DateTime queryEndDate,
   Schedule.Options queryOptions
)

Parameters

folderName
Only Jobs and Setups that are in or descendants of this folder will be included
queryName
Only jobs and setups that have a system name that matches this name will be included. The default is to match all systems.
queryStartDate
The beginning of the schedule period.
queryEndDate
The end of the schedule period.
queryOptions
Zero or more JAMS.Schedule.Options.

Return Value

The generated Schedule.
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