CollectionSet 建構函式 (CollectorConfigStore, String)
初始化 CollectionSet 的執行個體,其擁有指定做為父系的 CollectorConfigStore 物件和收集組名稱。
命名空間: 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
)
參數
- store
型別:Microsoft.SqlServer.Management.Collector. . :: . .CollectorConfigStore
[CollectorConfigStore] 物件。
- name
型別:System. . :: . .String
String ,代表收集組的名稱。這個名稱是每個資料收集器存放區的唯一名稱。
備註
Constructor given a [CollectorConfigStore] object.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.