Condividi tramite


Proprietà ComputerCollection.Item (String)

Returns the object with the specified name in the collection

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

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    name As String _
) As Computer 
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

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

Vedere anche

Riferimento

ComputerCollection Classe

Overload Item

Spazio dei nomi Microsoft.SqlServer.Management.Utility