Udostępnij przez


Konstruktor CollectionItem

Tworzy wystąpienie elementu kolekcja podanej kolekcja zestaw nazwa i nazwa towaru.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Collector
Zestaw:  Microsoft.SqlServer.Management.Collector (w Microsoft.SqlServer.Management.Collector.dll)

Składnia

'Deklaracja
Public Sub New ( _
    set As CollectionSet, _
    name As String _
)
'Użycie
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
)

Parametry

Uwagi

Ten obszar nazw, klasy lub element członkowski jest obsługiwany tylko w wersja 2.0 Microsoft .NET Framework.