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.