Propriété Item (String)
Gets an Operator object in the collection by name.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As Operator
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System. . :: . .String
A String value that specifies the name of the Operator object in the OperatorCollection collection.
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.Agent. . :: . .Operator
An Operator object value that represents the operator.