Share via


CollectorConfigStore.EnableCollector Method

Enables the data collector.

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

Syntax

'Declaration
Public Sub EnableCollector
'Usage
Dim instance As CollectorConfigStore

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

Remarks

Sets the Boolean property value to True.

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