SPJobDefinition.IsDisabled Property
Gets or sets whether the job definition should be disabled.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property IsDisabled As Boolean
Get
Set
'Usage
Dim instance As SPJobDefinition
Dim value As Boolean
value = instance.IsDisabled
instance.IsDisabled = value
public bool IsDisabled { get; set; }
Property Value
Type: System.Boolean
true to disable the job definition; otherwise, false (the default).