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.
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
association
Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociationThe workflow association to be removed from this collection.
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