WorkflowSubscription.Enabled property

Gets or sets a Boolean value that enables or disables the workflow subscription. When disabled, new instances of the subscription cannot be started, but existing instances will continue to run.

Namespace:  Microsoft.SharePoint.WorkflowServices
Assembly:  Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)

Syntax

'Declaration
<ClientCallablePropertyAttribute> _
Public Property Enabled As Boolean
    Get
    Set
'Usage
Dim instance As WorkflowSubscription
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
[ClientCallablePropertyAttribute]
public bool Enabled { get; set; }

Property value

Type: System.Boolean
Returns true to enable the subscription. Otherwise returns false.

See also

Reference

WorkflowSubscription class

WorkflowSubscription members

Microsoft.SharePoint.WorkflowServices namespace