Share via


CollectionSet Constructor (CollectorConfigStore, String)

Inicialice una instancia de CollectionSet según un objeto CollectorConfigStore como elemento primario y un nombre del conjunto de recopilación.

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
    String que es el nombre del conjunto de colección. Este nombre es único para cada almacén del recopilador de datos.

Comentarios

Constructor given a [CollectorConfigStore] object.

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