Condividi tramite


Proprietà JobServer.Operators

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Operator))> _
Public ReadOnly Property Operators As OperatorCollection 
    Get
'Utilizzo
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

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.Agent.OperatorCollection
An OperatorCollection that represents the operators defined on SQL Server Agent.

Esempi

Pianificazione delle attività amministrative automatiche in SQL Server Agent

Vedere anche

Riferimento

JobServer Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent

Altre risorse

Automatizzazione delle attività amministrative (SQL Server Agent)

sp_help_operator (Transact-SQL)