ExcelServicesJob Constructor (Trigger, String, Int32, , String, String, SecureString, String, , String, String, Boolean)

Initializes a new instance of the ExcelServicesJob class.

Namespace:  Microsoft.Office.Excel.Server.Addins.ComputeCluster
Assembly:  Microsoft.Office.Excel.Server.Addins.ComputeCluster (in Microsoft.Office.Excel.Server.Addins.ComputeCluster.dll)

Syntax

'Declaration
Public Sub New ( _
    TaskSchedule As Trigger, _
    InputXml As String, _
    Divisor As Integer, _
    Priority As JobPriority, _
    ClusterName As String, _
    UserName As String, _
    Password As SecureString, _
    Template As String, _
    TypeOfLocation As LocationType, _
    OutputLocation As String, _
    Coordinates As String, _
    IncludeHeader As Boolean _
)
'Usage
Dim TaskSchedule As Trigger
Dim InputXml As String
Dim Divisor As Integer
Dim Priority As JobPriority
Dim ClusterName As String
Dim UserName As String
Dim Password As SecureString
Dim Template As String
Dim TypeOfLocation As LocationType
Dim OutputLocation As String
Dim Coordinates As String
Dim IncludeHeader As Boolean

Dim instance As New ExcelServicesJob(TaskSchedule, _
    InputXml, Divisor, Priority, ClusterName, _
    UserName, Password, Template, TypeOfLocation, _
    OutputLocation, Coordinates, IncludeHeader)
public ExcelServicesJob(
    Trigger TaskSchedule,
    string InputXml,
    int Divisor,
    JobPriority Priority,
    string ClusterName,
    string UserName,
    SecureString Password,
    string Template,
    LocationType TypeOfLocation,
    string OutputLocation,
    string Coordinates,
    bool IncludeHeader
)

Parameters

  • Divisor
    Type: System.Int32
    With a fixed divisor type, the Divisor parameter indicates the number of total inputs to divide by to determine the total cluster tasks, as well as the number of inputs per task. The total inputs, divided by the Divisor parameter, equals the total number of tasks for the job.
  • Priority
    Type: JobPriority
    The job priority.
  • ClusterName
    Type: System.String
    The cluster name where the job is to run.
  • UserName
    Type: System.String
    The user name being used to execute the job.
  • Template
    Type: System.String
    The template location to use for synchronous executions.
  • TypeOfLocation
    Type: LocationType
    The output location type.
  • Coordinates
    Type: System.String
    The coordinates in the workbook template to place the results.
  • IncludeHeader
    Type: System.Boolean
    Indicates whether the header should be placed in the result workbook.

See Also

Reference

ExcelServicesJob Class

ExcelServicesJob Members

ExcelServicesJob Overload

Microsoft.Office.Excel.Server.Addins.ComputeCluster Namespace