/// <summary> /// Executes the task. /// </summary> /// <returns>Indicating if the task was successful.</returns> public override bool Execute() { BizTalkApplication bizTalkApplication = new BizTalkApplication(ManagementDatabaseConnectionString, ApplicationName); foreach (ITaskItem orchestrationName in this.OrchestrationNames) { Log.LogMessage("Starting Orchestration '{0}' for BizTalk application '{1}'.", orchestrationName.ItemSpec, ApplicationName); bizTalkApplication.StartOrchestration(orchestrationName.ItemSpec); } return true; }