SPJobDefinition.IsDisabled 属性
获取或设置是否应禁用作业定义。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property IsDisabled As Boolean
Get
Set
用法
Dim instance As SPJobDefinition
Dim value As Boolean
value = instance.IsDisabled
instance.IsDisabled = value
public bool IsDisabled { get; set; }
属性值
类型:System.Boolean
true禁用作业定义 ;否则为false (默认)。