Freigeben über


JobCategory.CategoryType-Eigenschaft

Gets or sets the type of job category.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property CategoryType As CategoryType 
    Get 
    Set
'Usage
Dim instance As JobCategory 
Dim value As CategoryType 

value = instance.CategoryType

instance.CategoryType = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public CategoryType CategoryType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property CategoryType CategoryType {
    CategoryType get ();
    void set (CategoryType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member CategoryType : CategoryType with get, set
function get CategoryType () : CategoryType 
function set CategoryType (value : CategoryType)

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.Agent.CategoryType
A CategoryType object that specifies the type of job category.

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

JobCategory Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)

sp_add_category (Transact-SQL)