SPWorkflowAssociationCollection.Remove method (SPWorkflowAssociation)

Removes a workflow association from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    association As SPWorkflowAssociation _
)
'Usage
Dim instance As SPWorkflowAssociationCollection
Dim association As SPWorkflowAssociation

instance.Remove(association)
public void Remove(
    SPWorkflowAssociation association
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

association is null .

Remarks

This method removes the workflow association specified by the association parameter from the collection.

See also

Reference

SPWorkflowAssociationCollection class

SPWorkflowAssociationCollection members

Remove overload

Microsoft.SharePoint.Workflow namespace