Propriété JobServer.Operators

Represents a collection of Operator objects. Each Operator object represents an operator 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(Operator))> _
Public ReadOnly Property Operators As OperatorCollection 
    Get
'Utilisation
Dim instance As JobServer 
Dim value As OperatorCollection 

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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.Agent.OperatorCollection
An OperatorCollection that represents the operators 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)