共用方式為


CollectionSetCollection.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.

請參閱

參考

CollectionSetCollection 類別

Item 多載

Microsoft.SqlServer.Management.Collector 命名空間