共用方式為


CategoryID 屬性

Gets the ID value that uniquely identifies the job category.

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

語法

'宣告
<SfcKeyAttribute()> _
<SfcPropertyAttribute> _
Public ReadOnly Property CategoryID As Integer
    Get
'用途
Dim instance As Job
Dim value As Integer

value = instance.CategoryID
[SfcKeyAttribute()]
[SfcPropertyAttribute]
public int CategoryID { get; }
[SfcKeyAttribute()]
[SfcPropertyAttribute]
public:
property int CategoryID {
    int get ();
}
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute>]
member CategoryID : int
function get CategoryID () : int

屬性值

型別:System. . :: . .Int32
A In32 value that specifies the job category ID value.

備註

The ID value references the category to which the job belongs. You can defined the category using the JobCategory object.