ExcelServicesJob Constructor (Trigger, String, , 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, _
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 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, Priority, ClusterName, _
UserName, Password, Template, TypeOfLocation, _
OutputLocation, Coordinates, IncludeHeader)
public ExcelServicesJob(
Trigger TaskSchedule,
string InputXml,
JobPriority Priority,
string ClusterName,
string UserName,
SecureString Password,
string Template,
LocationType TypeOfLocation,
string OutputLocation,
string Coordinates,
bool IncludeHeader
)
Parameters
- TaskSchedule
Type: Microsoft.Office.Excel.Server.Addins.ComputeCluster.TaskScheduler.Trigger
Contains the schedule information for the job.
- InputXml
Type: System.String
The serialized XML location of the ExcelServicesWork object containing all of the inputs.
- 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.
- Password
Type: System.Security.SecureString
The secure string password of the UserName. For more information about secure strings, see the SecureString class.
- Template
Type: System.String
The template location to use for synchronous executions.
- TypeOfLocation
Type: LocationType
The output location type.
- OutputLocation
Type: System.String
The output location.
- 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
Microsoft.Office.Excel.Server.Addins.ComputeCluster Namespace