次の方法で共有


SPJobDefinition.IsDisabled property

Gets or sets whether the job definition should be disabled.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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).

See also

Reference

SPJobDefinition class

SPJobDefinition members

Microsoft.SharePoint.Administration namespace