Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
Returns the workflow association based on its name.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Function GetAssociationByName ( _
name As String, _
cultureInfo As CultureInfo _
) As SPWorkflowAssociation
'Usage
Dim instance As SPWorkflowAssociationCollection
Dim name As String
Dim cultureInfo As CultureInfo
Dim returnValue As SPWorkflowAssociation
returnValue = instance.GetAssociationByName(name, _
cultureInfo)
public SPWorkflowAssociation GetAssociationByName(
string name,
CultureInfo cultureInfo
)
name
Type: System.String
The name of the desired workflow association.
cultureInfo
Type: System.Globalization.CultureInfo
The information about a specific culture.
Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociation
A SPWorkflowAssociation object that represents the specified workflow association.
This method returns the workflow association with the name specified by the name parameter and culture specified by the cultureInfo parameter.
SPWorkflowAssociationCollection class
Please sign in to use this experience.
Sign in