共用方式為


CollectorConfigStore.EnumTypes 方法

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

命名空間:  Microsoft.SqlServer.Management.Collector
組件:  Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)

語法

'宣告
Public Function EnumTypes As StringCollection
'用途
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

傳回值

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

備註

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

請參閱

參考

CollectorConfigStore 類別

Microsoft.SqlServer.Management.Collector 命名空間