Partager via


SPList.RemoveWorkflowAssociation - Méthode

Remarque : cette API est désormais obsolète.

Removes the specified workflow association from the list.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<ObsoleteAttribute("Use WorkflowAssociations.Remove() instead")> _
Public Sub RemoveWorkflowAssociation ( _
    workflowAssociation As SPWorkflowAssociation _
)
'Utilisation
Dim instance As SPList
Dim workflowAssociation As SPWorkflowAssociation

instance.RemoveWorkflowAssociation(workflowAssociation)
[ObsoleteAttribute("Use WorkflowAssociations.Remove() instead")]
public void RemoveWorkflowAssociation(
    SPWorkflowAssociation workflowAssociation
)

Paramètres

Remarques

The WorkflowAssociations property returns an SPWorkflowAssociationCollection object with the list’s collection of workflow associations. You can retrieve an association from the collection by using the value of the Id property as an indexer or by passing the workflow association’s name to the GetAssociationByName method.

Voir aussi

Référence

SPList classe

SPList - Membres

Microsoft.SharePoint - Espace de noms