JobServer.Operators Property
Represents a collection of Operator objects. Each Operator object represents an operator defined on SQL Server Agent.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Operator))> _
Public ReadOnly Property Operators As OperatorCollection
Get
'Usage
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
Property Value
Type: Microsoft.SqlServer.Management.Smo.Agent.OperatorCollection
An OperatorCollection that represents the operators defined on SQL Server Agent.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace