Udostępnij za pośrednictwem


Job.CategoryID Property

Gets the ID value that uniquely identifies the job category.

Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcKeyAttribute(1)> _
<SfcPropertyAttribute> _
Public ReadOnly Property CategoryID As Integer
[SfcKeyAttribute(1)] 
[SfcPropertyAttribute] 
public int CategoryID { get; }
[SfcKeyAttribute(1)] 
[SfcPropertyAttribute] 
public:
property int CategoryID {
    int get ();
}
/** @property */
public int get_CategoryID ()
public function get CategoryID () : int

Property Value

A In32 value that specifies the job category ID value.

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.