ComputerCollection.Item Propiedad (String)
Returns the object with the specified name in the collection
Espacio de nombres: Microsoft.SqlServer.Management.Utility
Ensamblado: Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As Computer
Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
A String value that specifies the name of the computer.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Utility.Computer
A Computer object value that represents the computer with the specified name.