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.
Adds the specified workflow association to the collection.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public MustOverride Function Add ( _
workflowAssociation As SPWorkflowAssociation _
) As SPWorkflowAssociation
'Usage
Dim instance As SPWorkflowAssociationCollection
Dim workflowAssociation As SPWorkflowAssociation
Dim returnValue As SPWorkflowAssociation
returnValue = instance.Add(workflowAssociation)
public abstract SPWorkflowAssociation Add(
SPWorkflowAssociation workflowAssociation
)
workflowAssociation
Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociation
Represents the association of a workflow template with a specific list or content type.
Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociation
Returns a SPWorkflowAssociation object that represents the added workflow association, or null .
This method adds the workflow association specified by workflowAssociation parameter to the collection.
SPWorkflowAssociationCollection class
Please sign in to use this experience.
Sign in