Bagikan melalui


Job.CategoryType Property

Gets or sets the type of category, with respect to local or multiserver jobs.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public Property CategoryType As Byte
    Get
    Set
'Usage
Dim instance As Job
Dim value As Byte

value = instance.CategoryType

instance.CategoryType = value
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public byte CategoryType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property unsigned char CategoryType {
    unsigned char get ();
    void set (unsigned char value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member CategoryType : byte with get, set
function get CategoryType () : byte
function set CategoryType (value : byte)

Property Value

Type: System.Byte
A Byte value that specifies the job category type.

Remarks

The job category type is a byte value that is determined by the CategoryTypeCategoryType enumeration.