AstToWorkflowConverter.CompileWorkflow Method

Definition

Compile a single workflow from it's definition as a string.

public:
 virtual System::Management::Automation::WorkflowInfo ^ CompileWorkflow(System::String ^ name, System::String ^ definition, System::Management::Automation::Runspaces::InitialSessionState ^ initialSessionState);
public System.Management.Automation.WorkflowInfo CompileWorkflow (string name, string definition, System.Management.Automation.Runspaces.InitialSessionState initialSessionState);
abstract member CompileWorkflow : string * string * System.Management.Automation.Runspaces.InitialSessionState -> System.Management.Automation.WorkflowInfo
override this.CompileWorkflow : string * string * System.Management.Automation.Runspaces.InitialSessionState -> System.Management.Automation.WorkflowInfo
Public Function CompileWorkflow (name As String, definition As String, initialSessionState As InitialSessionState) As WorkflowInfo

Parameters

name
String
definition
String
initialSessionState
InitialSessionState

Returns

Implements

Applies to