WSSTask.DeleteOnComplete Property
Gets or sets a value that indicates whether the workflow task should be deleted after it is completed.
Namespace: Microsoft.Office.Workflow
Assembly: Microsoft.Office.Workflow.Tasks (in Microsoft.Office.Workflow.Tasks.dll)
Syntax
'Declaration
<BrowsableAttribute(True)> _
<ValidationOptionAttribute(ValidationOption.Optional)> _
Public Property DeleteOnComplete As Boolean
Get
Set
'Usage
Dim instance As WSSTask
Dim value As Boolean
value = instance.DeleteOnComplete
instance.DeleteOnComplete = value
[BrowsableAttribute(true)]
[ValidationOptionAttribute(ValidationOption.Optional)]
public bool DeleteOnComplete { get; set; }
Property Value
Type: System.Boolean
If the task will be deleted, true; otherwise, false.