次の方法で共有


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
)

パラメーター

  • name
    型: System.String
    コレクション アイテムの名前を示す String 値です。

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework 2.0 でのみサポートされています。

関連項目

参照

CollectionItem クラス

Microsoft.SqlServer.Management.Collector 名前空間