Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
sp_syscollector_enable_collector (Transact-SQL)

sp_syscollector_enable_collector (Transact-SQL)

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

Topic link icon Transact-SQL Syntax Conventions


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;
EXEC dbo.sp_syscollector_enable_collector;

Community Additions

© 2015 Microsoft