Freigeben über


ImportWorkflowCommand.StartWorkflowApplication Method

Definition

Overloads

StartWorkflowApplication(PSCmdlet, String, String, Boolean, Boolean, Hashtable[])

Executes an instance of the workflow object graph identified by the passed GUID, binding parameters from the Parameters hastable.

StartWorkflowApplication(PSCmdlet, String, String, Boolean, Boolean, Hashtable[], Boolean)

Executes an instance of the workflow object graph identified by the passed GUID, binding parameters from the Parameters hastable.

StartWorkflowApplication(PSCmdlet, String, String, Boolean, Boolean, Hashtable[], Boolean, String)

Executes an instance of the workflow object graph identified by the passed GUID, binding parameters from the Parameters hastable.

StartWorkflowApplication(PSCmdlet, String, String, Boolean, Boolean, Hashtable[])

Executes an instance of the workflow object graph identified by the passed GUID, binding parameters from the Parameters hastable.

public:
 static System::Management::Automation::ContainerParentJob ^ StartWorkflowApplication(System::Management::Automation::PSCmdlet ^ command, System::String ^ jobName, System::String ^ workflowGuid, bool startAsync, bool parameterCollectionProcessed, cli::array <System::Collections::Hashtable ^> ^ parameters);
public static System.Management.Automation.ContainerParentJob StartWorkflowApplication (System.Management.Automation.PSCmdlet command, string jobName, string workflowGuid, bool startAsync, bool parameterCollectionProcessed, System.Collections.Hashtable[] parameters);
static member StartWorkflowApplication : System.Management.Automation.PSCmdlet * string * string * bool * bool * System.Collections.Hashtable[] -> System.Management.Automation.ContainerParentJob
Public Shared Function StartWorkflowApplication (command As PSCmdlet, jobName As String, workflowGuid As String, startAsync As Boolean, parameterCollectionProcessed As Boolean, parameters As Hashtable()) As ContainerParentJob

Parameters

command
PSCmdlet

The powershell command.

jobName
String

The friendly name for the job

workflowGuid
String

The GUID used to identify the workflow to run.

startAsync
Boolean
parameterCollectionProcessed
Boolean

True if there was a PSParameters collection

parameters
Hashtable[]

The parameters to pass to the workflow instance.

Returns

Applies to

StartWorkflowApplication(PSCmdlet, String, String, Boolean, Boolean, Hashtable[], Boolean)

Executes an instance of the workflow object graph identified by the passed GUID, binding parameters from the Parameters hastable.

public:
 static System::Management::Automation::ContainerParentJob ^ StartWorkflowApplication(System::Management::Automation::PSCmdlet ^ command, System::String ^ jobName, System::String ^ workflowGuid, bool startAsync, bool parameterCollectionProcessed, cli::array <System::Collections::Hashtable ^> ^ parameters, bool debuggerActive);
public static System.Management.Automation.ContainerParentJob StartWorkflowApplication (System.Management.Automation.PSCmdlet command, string jobName, string workflowGuid, bool startAsync, bool parameterCollectionProcessed, System.Collections.Hashtable[] parameters, bool debuggerActive);
static member StartWorkflowApplication : System.Management.Automation.PSCmdlet * string * string * bool * bool * System.Collections.Hashtable[] * bool -> System.Management.Automation.ContainerParentJob
Public Shared Function StartWorkflowApplication (command As PSCmdlet, jobName As String, workflowGuid As String, startAsync As Boolean, parameterCollectionProcessed As Boolean, parameters As Hashtable(), debuggerActive As Boolean) As ContainerParentJob

Parameters

command
PSCmdlet

The powershell command.

jobName
String

The friendly name for the job

workflowGuid
String

The GUID used to identify the workflow to run.

startAsync
Boolean
parameterCollectionProcessed
Boolean

True if there was a PSParameters collection

parameters
Hashtable[]

The parameters to pass to the workflow instance.

debuggerActive
Boolean

True if debugger is in active state.

Returns

Applies to

StartWorkflowApplication(PSCmdlet, String, String, Boolean, Boolean, Hashtable[], Boolean, String)

Executes an instance of the workflow object graph identified by the passed GUID, binding parameters from the Parameters hastable.

public static System.Management.Automation.ContainerParentJob StartWorkflowApplication (System.Management.Automation.PSCmdlet command, string jobName, string workflowGuid, bool startAsync, bool parameterCollectionProcessed, System.Collections.Hashtable[] parameters, bool debuggerActive, string SourceLanguageMode);
static member StartWorkflowApplication : System.Management.Automation.PSCmdlet * string * string * bool * bool * System.Collections.Hashtable[] * bool * string -> System.Management.Automation.ContainerParentJob
Public Shared Function StartWorkflowApplication (command As PSCmdlet, jobName As String, workflowGuid As String, startAsync As Boolean, parameterCollectionProcessed As Boolean, parameters As Hashtable(), debuggerActive As Boolean, SourceLanguageMode As String) As ContainerParentJob

Parameters

command
PSCmdlet

The powershell command.

jobName
String

The friendly name for the job

workflowGuid
String

The GUID used to identify the workflow to run.

startAsync
Boolean
parameterCollectionProcessed
Boolean

True if there was a PSParameters collection

parameters
Hashtable[]

The parameters to pass to the workflow instance.

debuggerActive
Boolean

True if debugger is in active state.

SourceLanguageMode
String

Language mode of source creating workflow.

Returns

Applies to