共用方式為


CollectorConfigStore.DisableCollector 方法

Disables the data collector.

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

語法

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

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

備註

Sets the the Boolean property value to False.

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

請參閱

參考

CollectorConfigStore 類別

Microsoft.SqlServer.Management.Collector 命名空間