Compartilhar via


Propriedade do RDL JobCategory.CategoryType

Gets or sets the type of job category.

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

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property CategoryType As CategoryType 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Exemplos

Agendando tarefas administrativas automáticas no SQL Server Agent

Consulte também

Referência

JobCategory Classe

Namespace Microsoft.SqlServer.Management.Smo.Agent

Outros recursos

Tarefas de administração automatizadas (SQL Server Agent)

sp_add_category (Transact-SQL)