CollectionSet 构造函数 (CollectorConfigStore, String)
在给定 CollectorConfigStore 对象作为父对象以及收集组名称的情况下,实例化 CollectionSet 的实例。
命名空间: 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.