Item 属性 (String)

Gets a collection set based on the name that is provided.

命名空间:  Microsoft.SqlServer.Management.Collector
程序集:  Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    name As String _
) As CollectionSet
    Get
用法
Dim instance As CollectionSetCollection
Dim name As String
Dim value As CollectionSet

value = instance(name)
public CollectionSet this[
    string name
] { get; }
public:
property CollectionSet^ default[String^ name] {
    CollectionSet^ get (String^ name);
}
member Item : CollectionSet
JScript 支持使用索引属性,但不支持声明新索引属性。

参数

属性值

类型:Microsoft.SqlServer.Management.Collector. . :: . .CollectionSet
A CollectionSetCollection object that is the collection set.

注释

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.