WorkflowSubscription.Enabled property

SharePoint 2013

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)

public bool Enabled { get; set; }

Property value

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