CollectionItem 构造函数
在给定收集组名称和项名称的情况下,创建收集项的实例。
命名空间: Microsoft.SqlServer.Management.Collector
程序集: Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)
语法
声明
Public Sub New ( _
set As CollectionSet, _
name As String _
)
用法
Dim set As CollectionSet
Dim name As String
Dim instance As New CollectionItem(set, name)
public CollectionItem(
CollectionSet set,
string name
)
public:
CollectionItem(
CollectionSet^ set,
String^ name
)
new :
set:CollectionSet *
name:string -> CollectionItem
public function CollectionItem(
set : CollectionSet,
name : String
)
参数
- set
类型:Microsoft.SqlServer.Management.Collector. . :: . .CollectionSet
一个指定父收集组的 Name 值。
- name
类型:System. . :: . .String
一个指定收集项名称的 String 值。
注释
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.