/// <summary> /// Used to Configure the Steps of the Job. At least one step is required. Only Cmd, Sql and Integration Services steps are currently supported. /// </summary> /// <param name="configuration">Create a new StepConfiguration</param> /// <returns>JobConfiguration</returns> public JobConfiguration WithStep(StepConfiguration configuration) { if (Configuration.Steps == null) { Configuration.Steps = new List <StepConfiguration>(); } Configuration.Steps.Add(configuration); return(Configuration); }
/// <summary> /// Create a StepConfiguration. This is used to create a step for the Job. /// </summary> /// <returns></returns> public static StepConfiguration Create() { Configuration = new StepConfiguration(); SetDefaults(); return(Configuration); }