JAMS Developer Guide
Execute Method (IJAMSHostReports)


MVPSI.JAMS.Host Namespace > IJAMSHostReports Interface : Execute Method
A service provider that can provide services to you.
A dictionary which contains the attributes of the job.
A dictionary which contains the parameters of the job.
A list of Reports defined in the job.
Execute is called to execute a job. The implementor should execute the job and return the results as a FinalStatus object.
Syntax
'Declaration
 
Function Execute( _
   ByVal serviceProvider As System.IServiceProvider, _
   ByVal attributes As System.Collections.Generic.Dictionary(Of String,Object), _
   ByVal parameters As System.Collections.Generic.Dictionary(Of String,Object), _
   ByVal reports As System.Collections.Generic.List(Of Report) _
) As FinalResults
'Usage
 
Dim instance As IJAMSHostReports
Dim serviceProvider As System.IServiceProvider
Dim attributes As System.Collections.Generic.Dictionary(Of String,Object)
Dim parameters As System.Collections.Generic.Dictionary(Of String,Object)
Dim reports As System.Collections.Generic.List(Of Report)
Dim value As FinalResults
 
value = instance.Execute(serviceProvider, attributes, parameters, reports)
FinalResults Execute( 
   System.IServiceProvider serviceProvider,
   System.Collections.Generic.Dictionary<string,object> attributes,
   System.Collections.Generic.Dictionary<string,object> parameters,
   System.Collections.Generic.List<Report> reports
)

Parameters

serviceProvider
A service provider that can provide services to you.
attributes
A dictionary which contains the attributes of the job.
parameters
A dictionary which contains the parameters of the job.
reports
A list of Reports defined in the job.
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

IJAMSHostReports Interface
IJAMSHostReports Members