Compartir a través de


WorkflowAssociationCollection.GetById Method

Retrieves a specified workflow association by the association ID.

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