Udostępnij za pośrednictwem


sp_syscollector_disable_collector (Transact-SQL)

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

Ikona łącza do tematu Transact-SQL Syntax Conventions

Składnia

dbo.sp_syscollector_disable_collector

Arguments

None

Return Code Values

0 (success) or 1 (failure)

Uwagi

Defaults to the data collector on the server.

Permissions

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

Examples

The following example disables the data collector.

USE msdb;
GO
EXEC dbo.sp_syscollector_disable_collector;

Zobacz także

Odwołanie

System Stored Procedures (Transact-SQL)

Koncepcje

Data Collection