WorkflowResourceManager.PublishWorkflow Method (WorkflowDescription, Boolean)
Publishes a workflow.
Namespace: Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Syntax
'Declaration
Public Function PublishWorkflow ( _
description As WorkflowDescription, _
terminateActiveInstances As Boolean _
) As Uri
'Usage
Dim instance As WorkflowResourceManager
Dim description As WorkflowDescription
Dim terminateActiveInstances As Boolean
Dim returnValue As Uri
returnValue = instance.PublishWorkflow(description, _
terminateActiveInstances)
public Uri PublishWorkflow(
WorkflowDescription description,
bool terminateActiveInstances
)
public:
Uri^ PublishWorkflow(
WorkflowDescription^ description,
bool terminateActiveInstances
)
member PublishWorkflow :
description:WorkflowDescription *
terminateActiveInstances:bool -> Uri
public function PublishWorkflow(
description : WorkflowDescription,
terminateActiveInstances : boolean
) : Uri
Parameters
- description
Type: Microsoft.Workflow.Client.WorkflowDescription
The WorkflowDescription.
- terminateActiveInstances
Type: System.Boolean
true to terminate active instances; otherwise, false.
Return Value
Type: System.Uri
The published workflow.