JAMS Developer Guide
Find Method (IHistoryWCF)


MVPSI.JAMS Namespace > IHistoryWCF Interface : Find Method
Searches for job execution history which matches the selection criteria.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function Find( _
   ByVal historySelection As System.Collections.Generic.IEnumerable(Of HistorySelection), _
   ByVal startDate As System.Date, _
   ByVal endDate As System.Date, _
   ByVal includeSuccess As System.Boolean, _
   ByVal includeInfo As System.Boolean, _
   ByVal includeWarning As System.Boolean, _
   ByVal includeError As System.Boolean, _
   ByVal includeFatal As System.Boolean, _
   ByVal checkSched As System.Boolean, _
   ByVal checkHold As System.Boolean, _
   ByVal checkStart As System.Boolean, _
   ByVal checkCompletion As System.Boolean, _
   ByVal searchOptions As HistorySearchOptions _
) As System.Threading.Tasks.Task(Of ICollection(Of History))
'Usage
 
Dim instance As IHistoryWCF
Dim historySelection As System.Collections.Generic.IEnumerable(Of HistorySelection)
Dim startDate As System.Date
Dim endDate As System.Date
Dim includeSuccess As System.Boolean
Dim includeInfo As System.Boolean
Dim includeWarning As System.Boolean
Dim includeError As System.Boolean
Dim includeFatal As System.Boolean
Dim checkSched As System.Boolean
Dim checkHold As System.Boolean
Dim checkStart As System.Boolean
Dim checkCompletion As System.Boolean
Dim searchOptions As HistorySearchOptions
Dim value As System.Threading.Tasks.Task(Of ICollection(Of History))
 
value = instance.Find(historySelection, startDate, endDate, includeSuccess, includeInfo, includeWarning, includeError, includeFatal, checkSched, checkHold, checkStart, checkCompletion, 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>> Find( 
   System.Collections.Generic.IEnumerable<HistorySelection> historySelection,
   System.DateTime startDate,
   System.DateTime endDate,
   System.bool includeSuccess,
   System.bool includeInfo,
   System.bool includeWarning,
   System.bool includeError,
   System.bool includeFatal,
   System.bool checkSched,
   System.bool checkHold,
   System.bool checkStart,
   System.bool checkCompletion,
   HistorySearchOptions searchOptions
)

Parameters

historySelection
startDate
endDate
includeSuccess
includeInfo
includeWarning
includeError
includeFatal
checkSched
checkHold
checkStart
checkCompletion
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