sp_syscollector_disable_collector (Transact-SQL)

sp_syscollector_disable_collector (Transact-SQL)


Applies To: SQL Server 2014, SQL Server 2016 Preview

Disables 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


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 disables the data collector.

EXEC dbo.sp_syscollector_disable_collector;

Community Additions

© 2015 Microsoft