Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves workflow definitions from the workflow store that match the tags.
Namespace: Microsoft.SharePoint.WorkflowServices
Assembly: Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)
Syntax
'Declaration
<ClientCallableMethodAttribute> _
Public MustOverride Function EnumerateDefinitions ( _
publishedOnly As Boolean _
) As WorkflowDefinitionCollection
'Usage
Dim instance As WorkflowDeploymentService
Dim publishedOnly As Boolean
Dim returnValue As WorkflowDefinitionCollection
returnValue = instance.EnumerateDefinitions(publishedOnly)
[ClientCallableMethodAttribute]
public abstract WorkflowDefinitionCollection EnumerateDefinitions(
bool publishedOnly
)
Parameters
publishedOnly
Type: System.BooleanTrue if only published workflow should be returned.
Return value
Type: Microsoft.SharePoint.WorkflowServices.WorkflowDefinitionCollection
Returns a dictionary populated with key/value pairs of workflow definition IDs and workflow names.
See also
Reference
WorkflowDeploymentService class