Partager via


Constructeur CollectionSet (CollectorConfigStore, String)

Initialiser une instance d'un objet CollectionSet auquel est donné un objet CollectorConfigStore en tant que parent et un nom de jeu d'éléments de collecte.

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    store As CollectorConfigStore, _
    name As String _
)
'Utilisation
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
)

Paramètres

  • name
    Type : System. . :: . .String
    String qui est le nom du jeu d'éléments de collecte. Ce nom est unique pour chaque magasin de collecteur de données.

Notes

Constructor given a [CollectorConfigStore] object.

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