Share via


CollectorConfigStore.DisableCollector Method

Disables the data collector.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Public Sub DisableCollector
'Usage
Dim instance As CollectorConfigStore

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

Remarks

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.