共用方式為


EnableCollector 方法

Enables the data collector.

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

語法

'宣告
Public Sub EnableCollector
'用途
Dim instance As CollectorConfigStore

instance.EnableCollector()
public void EnableCollector()
public:
void EnableCollector()
member EnableCollector : unit -> unit 
public function EnableCollector()

備註

Sets the Boolean property value to True.

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