Propriété JobServer.OperatorCategories

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(OperatorCategory))> _
Public ReadOnly Property OperatorCategories As OperatorCategoryCollection 
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

Planification des tâches administratives automatiques dans l'Agent SQL Server

Voir aussi

Référence

JobServer Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Agent

Autres ressources

Tâches d'administration automatisée (Agent SQL Server)

sp_help_operator (Transact-SQL)