WorkflowDeploymentService.GetDefinition method
Retrieves a specified workflow definition from the workflow store.
Namespace: Microsoft.SharePoint.WorkflowServices
Assembly: Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)
Syntax
'Declaration
<ClientCallableMethodAttribute> _
Public MustOverride Function GetDefinition ( _
definitionId As Guid _
) As WorkflowDefinition
'Usage
Dim instance As WorkflowDeploymentService
Dim definitionId As Guid
Dim returnValue As WorkflowDefinition
returnValue = instance.GetDefinition(definitionId)
[ClientCallableMethodAttribute]
public abstract WorkflowDefinition GetDefinition(
Guid definitionId
)
Parameters
definitionId
Type: System.GuidThe guid identifier of the workflow definition.
Return value
Type: Microsoft.SharePoint.WorkflowServices.WorkflowDefinition
Returns a definition instance populated with the information in the workflow definition.
See also
Reference
WorkflowDeploymentService class