SPWorkflowAssociation.MarkedForDelete Property
Gets or sets a value that marks the association for deletion. This prevents the association from being accessed before it is actually deleted.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Property MarkedForDelete As Boolean
Get
Set
'Usage
Dim instance As SPWorkflowAssociation
Dim value As Boolean
value = instance.MarkedForDelete
instance.MarkedForDelete = value
public bool MarkedForDelete { get; set; }
Property Value
Type: System.Boolean
true if the association is disabled in preparation for deletion; otherwise, false.
See Also
Reference
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation