JAMS Developer Guide
FindById Method (IHistoryWCF)


MVPSI.JAMS Namespace > IHistoryWCF Interface : FindById Method
Searches for job execution history for a specific job
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function FindById( _
   ByVal jobId As System.Integer, _
   ByVal startDate As System.Date, _
   ByVal searchOptions As HistorySearchOptions _
) As System.Threading.Tasks.Task(Of ICollection(Of History))
'Usage
 
Dim instance As IHistoryWCF
Dim jobId As System.Integer
Dim startDate As System.Date
Dim searchOptions As HistorySearchOptions
Dim value As System.Threading.Tasks.Task(Of ICollection(Of History))
 
value = instance.FindById(jobId, startDate, searchOptions)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task<ICollection<History>> FindById( 
   System.int jobId,
   System.DateTime startDate,
   HistorySearchOptions searchOptions
)

Parameters

jobId
startDate
searchOptions
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

IHistoryWCF Interface
IHistoryWCF Members