Compartir a través de


CategoryID Propiedad

Gets the ID value that uniquely identifies the job category.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcKeyAttribute()> _
<SfcPropertyAttribute> _
Public ReadOnly Property CategoryID As Integer
    Get
'Uso
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

Valor de la propiedad

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

Notas

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