共用方式為


Category 屬性

Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobs method to the date the category of the job.

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

語法

'宣告
Public Property Category As String
    Get
    Set
'用途
Dim instance As JobFilter
Dim value As String

value = instance.Category

instance.Category = value
public string Category { get; set; }
public:
property String^ Category {
    String^ get ();
    void set (String^ value);
}
member Category : string with get, set
function get Category () : String
function set Category (value : String)

屬性值

型別:System. . :: . .String
A string value that specifies the category constraint for the job filter.