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 命名空间