Item 属性 (String)
获取收集项的名称。
命名空间: Microsoft.SqlServer.Management.Collector
程序集: Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
name As String _
) As CollectionItem
Get
用法
Dim instance As CollectionItemCollection
Dim name As String
Dim value As CollectionItem
value = instance(name)
public CollectionItem this[
string name
] { get; }
public:
property CollectionItem^ default[String^ name] {
CollectionItem^ get (String^ name);
}
member Item : CollectionItem
JScript 支持使用索引属性,但不支持声明新索引属性。
参数
- name
类型:System. . :: . .String
收集项的名称。
属性值
类型:Microsoft.SqlServer.Management.Collector. . :: . .CollectionItem
一个作为收集项的名称的 Sting 值。
注释
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.