共用方式為


SPContentType.RemoveWorkflowAssociation Method

NOTE: This API is now obsolete.

Use the WorkflowAssociations.Remove method.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use WorkflowAssociations.Remove() instead")> _
Public Sub RemoveWorkflowAssociation ( _
    workflowAssociation As SPWorkflowAssociation _
)
'Usage
Dim instance As SPContentType
Dim workflowAssociation As SPWorkflowAssociation

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

Parameters

See Also

Reference

SPContentType Class

SPContentType Members

Microsoft.SharePoint Namespace

WorkflowAssociations