共用方式為


CollectionSet 建構函式 (CollectorConfigStore, String)

Initialize an instance of a CollectionSet given a CollectorConfigStore object as a parent and a collection set name.

命名空間:  Microsoft.SqlServer.Management.Collector
組件:  Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)

語法

'宣告
Public Sub New ( _
    store As CollectorConfigStore, _
    name As String _
)
'用途
Dim store As CollectorConfigStore 
Dim name As String 

Dim instance As New CollectionSet(store, name)
public CollectionSet(
    CollectorConfigStore store,
    string name
)
public:
CollectionSet(
    CollectorConfigStore^ store, 
    String^ name
)
new : 
        store:CollectorConfigStore * 
        name:string -> CollectionSet
public function CollectionSet(
    store : CollectorConfigStore, 
    name : String
)

參數

  • name
    型別:System.String
    A String that is the name of the collection set. This name is unique for each data collector store.

備註

Constructor given a [CollectorConfigStore] object.

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

請參閱

參考

CollectionSet 類別

CollectionSet 多載

Microsoft.SqlServer.Management.Collector 命名空間