Partager via


Propriété ComputerCollection.Item (String)

Returns the object with the specified name in the collection

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As Computer 
    Get
'Utilisation
Dim instance As ComputerCollection 
Dim name As String 
Dim value As Computer 

value = instance(name)
public Computer this[
    string name
] { get; }
public:
property Computer^ default[String^ name] {
    Computer^ get (String^ name);
}
member Item : Computer
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.SqlServer.Management.Utility.Computer
A Computer object value that represents the computer with the specified name.

Voir aussi

Référence

ComputerCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.Utility