PSWorkflowValidator.ValidateWorkflow Method

Validates the specified workflow to determine if it is using activities tht are allowed. This SDK programming element is introduced in Windows PowerShell 3.0.


Namespace: Microsoft.PowerShell.Workflow
Assembly: Microsoft.PowerShell.Workflow.ServiceCore (in Microsoft.PowerShell.Workflow.ServiceCore.dll)

'Usage
Dim instance As PSWorkflowValidator
Dim workflow As Activity
Dim runtimeAssembly As String
Dim returnValue As ValidationResults

returnValue = instance.ValidateWorkflow(workflow, runtimeAssembly)

public:
ValidationResults^ ValidateWorkflow (
	Activity^ workflow, 
	String^ runtimeAssembly
)
public ValidationResults ValidateWorkflow (
	Activity workflow, 
	String runtimeAssembly
)
public function ValidateWorkflow (
	workflow : Activity, 
	runtimeAssembly : String
) : ValidationResults

Parameters

workflow

The workflow to validate.

runtimeAssembly

The name of an additional runtime assembly that is necessary to the validation process.

Return Value

Returns ValidationResults.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft