Export (0) Print
Expand All

sp_syscollector_enable_collector (Transact-SQL)

Enables the data collector. Because there is only one data collector per server, no parameters are required.

Applies to: SQL Server (SQL Server 2008 through current version).

Topic link icon Transact-SQL Syntax Conventions

dbo.sp_syscollector_enable_collector

0 (success) or 1 (failure)

Defaults to the data collector on the server.

Requires membership in the dc_admin or dc_operator (with EXECUTE permission) fixed database role to execute this procedure.

The following example enables the data collector.

USE msdb;
GO
EXEC dbo.sp_syscollector_enable_collector;
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft