JAMS 6.x Help
FindOptimized Method


The IScheduleSQL interface can only be called by JAMS, use JAMS.Schedule.Find
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function FindOptimized( _
   ByVal jobID As System.Integer, _
   ByVal setupID As System.Integer, _
   ByVal startDate As System.Date, _
   ByVal endDate As System.Date, _
   ByVal options As Schedule.Options _
) As System.Collections.Generic.ICollection(Of ScheduleEntry)
'Usage
 
Dim instance As IScheduleSQL
Dim jobID As System.Integer
Dim setupID As System.Integer
Dim startDate As System.Date
Dim endDate As System.Date
Dim options As Schedule.Options
Dim value As System.Collections.Generic.ICollection(Of ScheduleEntry)
 
value = instance.FindOptimized(jobID, setupID, startDate, endDate, options)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Collections.Generic.ICollection<ScheduleEntry> FindOptimized( 
   System.int jobID,
   System.int setupID,
   System.DateTime startDate,
   System.DateTime endDate,
   Schedule.Options options
)

Parameters

jobID
setupID
startDate
endDate
options
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

IScheduleSQL Interface
IScheduleSQL Members

Send Feedback