Compartir a través de


CollectionSet Constructor (CollectorConfigStore, String)

Initialize an instance of a CollectionSet given a CollectorConfigStore object as a parent and a collection set name.

Espacio de nombres:  Microsoft.SqlServer.Management.Collector
Ensamblado:  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

Sintaxis

'Declaración
Public Sub New ( _
    store As CollectorConfigStore, _
    name As String _
)
'Uso
Dim store As CollectorConfigStore 
Dim name As String 

Dim instance As New CollectionSet(store, name)
public CollectionSet(
    CollectorConfigStore store,
    string name
)
public:
CollectionSet(
    CollectorConfigStore^ store, 
    String^ name
)
new : 
        store:CollectorConfigStore * 
        name:string -> CollectionSet
public function CollectionSet(
    store : CollectorConfigStore, 
    name : String
)

Parámetros

  • name
    Tipo: System.String
    A String that is the name of the collection set. This name is unique for each data collector store.

Comentarios

Constructor given a [CollectorConfigStore] object.

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

Vea también

Referencia

CollectionSet Clase

Sobrecarga de CollectionSet

Espacio de nombres Microsoft.SqlServer.Management.Collector