Item-Eigenschaft (String)
Returns the object with the specified name in the collection
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As Computer
Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- name
Typ: System. . :: . .String
A String value that specifies the name of the computer.
Eigenschaftswert
Typ: Microsoft.SqlServer.Management.Utility. . :: . .Computer
A Computer object value that represents the computer with the specified name.