Compartilhar via


WorkflowAssociationCollection.GetByName Method

Retrieves a specified workflow association by the association name.

Namespace:  Microsoft.SharePoint.Client.Workflow
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
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)
[RemoteAttribute]
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