CollectionItem Constructor

Creates an instance of a collection item given the collection set name and an item name.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Public Sub New ( _
    set As CollectionSet, _
    name As String _
)
'Usage
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
)

Parameters

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.