Delen via


ComputerCollection.Item Property (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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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

See Also

Reference

ComputerCollection Class

Item Overload

Microsoft.SqlServer.Management.Utility Namespace