WorkflowDeploymentService.PublishDefinition method

Publishes a workflow definition to the workflow store.

Namespace:  Microsoft.SharePoint.WorkflowServices
Assembly:  Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)

Syntax

'Declaration
<ClientCallableMethodAttribute> _
Public MustOverride Sub PublishDefinition ( _
    definitionId As Guid _
)
'Usage
Dim instance As WorkflowDeploymentService
Dim definitionId As Guid

instance.PublishDefinition(definitionId)
[ClientCallableMethodAttribute]
public abstract void PublishDefinition(
    Guid definitionId
)

Parameters

  • definitionId
    Type: System.Guid

    The guid identifier of the workflow definition.

See also

Reference

WorkflowDeploymentService class

WorkflowDeploymentService members

Microsoft.SharePoint.WorkflowServices namespace