Share via


OperatorCollection.Item Property (String)

Gets an Operator object in the collection by name.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As Operator
    Get
'Usage
Dim instance As OperatorCollection
Dim name As String
Dim value As [Operator]

value = instance(name)
public Operator this[
    string name
] { get; }
public:
property Operator^ default[String^ name] {
    Operator^ get (String^ name);
}
member Item : Operator
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.Agent.Operator
An Operator object value that represents the operator.