ComputerCollection.Item 属性 (String)
Returns the object with the specified name in the collection
命名空间: Microsoft.SqlServer.Management.Utility
程序集: Microsoft.SqlServer.Management.Utility(在 Microsoft.SqlServer.Management.Utility.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
name As String _
) As Computer
Get
用法
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 支持使用索引属性,但不支持声明新索引属性。
参数
- name
类型:System.String
A String value that specifies the name of the computer.
属性值
类型:Microsoft.SqlServer.Management.Utility.Computer
A Computer object value that represents the computer with the specified name.