Sdílet prostřednictvím


SPWorkflowAssociationCollection.Remove Method (SPWorkflowAssociation)

Removes a workflow association from the collection.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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