Compartilhar via


Propriedade do RDL JobServer.OperatorCategories

Represents a collection of OperatorCategory objects. Each OperatorCategory object represents an operator category defined on SQL Server Agent.

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

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(OperatorCategory))> _
Public ReadOnly Property OperatorCategories As OperatorCategoryCollection 
    Get
'Uso
Dim instance As JobServer 
Dim value As OperatorCategoryCollection 

value = instance.OperatorCategories
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(OperatorCategory))]
public OperatorCategoryCollection OperatorCategories { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(OperatorCategory))]
public:
property OperatorCategoryCollection^ OperatorCategories {
    OperatorCategoryCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(OperatorCategory))>]
member OperatorCategories : OperatorCategoryCollection
function get OperatorCategories () : OperatorCategoryCollection

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.Agent.OperatorCategoryCollection
A OperatorCategoryCollection that represents the operator categories defined on SQL Server Agent.

Exemplos

Agendando tarefas administrativas automáticas no SQL Server Agent

Consulte também

Referência

JobServer Classe

Namespace Microsoft.SqlServer.Management.Smo.Agent

Outros recursos

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

sp_help_operator (Transact-SQL)