Share via


WorkflowAssociationCollection.GetById method

Retrieves a specified workflow association by the association ID.

Namespace:  Microsoft.SharePoint.Client.Workflow
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Overridable Function GetById ( _
    associationId As Guid _
) As WorkflowAssociation
'Usage
Dim instance As WorkflowAssociationCollection
Dim associationId As Guid
Dim returnValue As WorkflowAssociation

returnValue = instance.GetById(associationId)
public virtual WorkflowAssociation GetById(
    Guid associationId
)

Parameters

  • associationId
    Type: System.Guid

    Represents the association of a workflow template with a specific list or content type.

Return value

Type: Microsoft.SharePoint.Client.Workflow.WorkflowAssociation
Returns a WorkflowAssociation instance representing retrieval of a specified workflow association by the association ID.

Remarks

Each workflow association must have a unique GUID.

See also

Reference

WorkflowAssociationCollection class

WorkflowAssociationCollection members

Microsoft.SharePoint.Client.Workflow namespace