Partager via


EnumTypes méthode

Enumerates the names of the collector types in the configuration store.

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

Syntaxe

'Déclaration
Public Function EnumTypes As StringCollection
'Utilisation
Dim instance As CollectorConfigStore
Dim returnValue As StringCollection

returnValue = instance.EnumTypes()
public StringCollection EnumTypes()
public:
StringCollection^ EnumTypes()
member EnumTypes : unit -> StringCollection 
public function EnumTypes() : StringCollection

Valeur de retour

Type : System.Collections.Specialized. . :: . .StringCollection
A StringCollection value that contains the names of the collector types that are installed.

Notes

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