SPList.RemoveWorkflowAssociation-Methode
HINWEIS: Diese API ist veraltet.
Entfernt die angegebene Workflow-Zuordnung aus der Liste.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use WorkflowAssociations.Remove() instead")> _
Public Sub RemoveWorkflowAssociation ( _
workflowAssociation As SPWorkflowAssociation _
)
'Usage
Dim instance As SPList
Dim workflowAssociation As SPWorkflowAssociation
instance.RemoveWorkflowAssociation(workflowAssociation)
[ObsoleteAttribute("Use WorkflowAssociations.Remove() instead")]
public void RemoveWorkflowAssociation(
SPWorkflowAssociation workflowAssociation
)
Parameter
workflowAssociation
Typ: Microsoft.SharePoint.Workflow.SPWorkflowAssociationDie Workflowzuordnung entfernen.
Hinweise
Die WorkflowAssociations -Eigenschaft gibt ein SPWorkflowAssociationCollection -Objekt mit der Listenauflistung mit Workflowzuordnungen. Sie können eine Zuordnung mit dem Wert der Eigenschaft Id als Indexer oder durch Übergeben der Workflowzuordnung Namens an die GetAssociationByName -Methode aus der Auflistung abrufen.