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


MVPSI.JAMS Namespace > Schedule Class > Find Method : Find(String,String,DateTime,DateTime,Options,Server) 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.
The JAMS Server to search.
Returns a collection of jobs and setups that should run between two points in 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, _
   ByVal js As Server _
) 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 js As Server
Dim value As System.Collections.Generic.ICollection(Of ScheduleEntry)
 
value = Schedule.Find(folderName, queryName, queryStartDate, queryEndDate, queryOptions, js)
public static System.Collections.Generic.ICollection<ScheduleEntry> Find( 
   System.string folderName,
   System.string queryName,
   System.DateTime queryStartDate,
   System.DateTime queryEndDate,
   Schedule.Options queryOptions,
   Server js
)

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.
js
The JAMS Server to search.

Return Value

The new JobList
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