共用方式為


EnumTypes 方法

列舉組態存放區中收集器類型的名稱。

命名空間:  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
StringCollection 值,其中包含所安裝之收集器類型的名稱。

備註

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