共用方式為


Enabled 屬性

Gets or sets the Boolean property value that specifies whether the job filter is enabled or not.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Property Enabled As Boolean
    Get
    Set
'用途
Dim instance As JobFilter
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
public bool Enabled { get; set; }
public:
property bool Enabled {
    bool get ();
    void set (bool value);
}
member Enabled : bool with get, set
function get Enabled () : boolean
function set Enabled (value : boolean)

屬性值

型別:System. . :: . .Boolean
A Boolean value that specifies whether the job filter is enabled or not.
If True, the job filter is enabled and will restrict the output of the EnumJobs method.
If False, the job filter is disabled and will not restrict the output of the EnumJobs method.