Share via


WorkflowAssociationCollection.GetByName method

Retrieves a specified workflow association by the association name.

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

Syntax

'Declaration
Public Function GetByName ( _
    name As String _
) As WorkflowAssociation
'Usage
Dim instance As WorkflowAssociationCollection
Dim name As String
Dim returnValue As WorkflowAssociation

returnValue = instance.GetByName(name)
public WorkflowAssociation GetByName(
    string name
)

Parameters

  • name
    Type: System.String

    The name of the workflow association to retrieve.

Return value

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

Remarks

All workflow association objects in the collection must have unique values for their name property

See also

Reference

WorkflowAssociationCollection class

WorkflowAssociationCollection members

Microsoft.SharePoint.Client.Workflow namespace