/// <summary> /// This method triggers a Data Transformation Job. /// </summary> /// <param name="jobDefinitionName">Job definition name.</param> /// <param name="runJobParams">Parameters required to run the job.</param> /// <param name="trackJobUrl">Returns the url to track the job.</param> /// <param name="jobStatusIntervalInSeconds">Returns the ideal interval after which /// the job status should be queried using TrackJobAsync.</param> public void RunJobAsync(string jobDefinitionName, DataServiceProperties runJobParams, out string trackJobUrl, out string jobStatusIntervalInSeconds) { // Create the payload to make the call to run the job. string json = JsonConvert.SerializeObject(runJobParams); _serviceHelper.RunJob(_resourceGroup, _resourceName, jobDefinitionName, json, out trackJobUrl, out jobStatusIntervalInSeconds); }