AstToWorkflowConverter.CompileWorkflow Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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