Compartir a través de


EnumTypes Método

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

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

Sintaxis

'Declaración
Public Function EnumTypes As StringCollection
'Uso
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

Valor devuelto

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

Notas

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