IJobMain.Start Method

[This is internal Microsoft documentation - Do not distribute.]

Implemented by the job implementor (JobCoordinator side) JobEngine transfers control by calling Start, where the code creates instance of the Job class and add job steps. Also this lets users create their own implementation of the IPartitionSet and IPartition and pass to the JobEngine. Then the user code on the worker side can typecast to the correct type and get a much richer partitionset/partition class, with functionality required for a particular job.

Namespace: Microsoft.Webstore.JobEngine
Assembly: ICL (in icl.dll)

Syntax

'Declaration

  Function Start ( _
    jobName As String, _
    dop As Integer, _
    batchOption As BatchOption, _
    location As Location, _
    userArgs As String _
) As Integer
  int Start (
    string jobName,
    int dop,
    BatchOption batchOption,
    Location location,
    string userArgs
)

Parameters

  • jobName
    Name of the Job
  • dop
    Degree of Parallelism
  • batchOption
    Batching option of partition set
  • location
    Location where the worker shuld run
  • userArgs
    Arguments passed by the user

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

IJobMain Interface
IJobMain Members
Microsoft.Webstore.JobEngine Namespace