Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.85 KB

File metadata and controls

59 lines (45 loc) · 1.85 KB
title sp_syscollector_disable_collector (Transact-SQL) | Microsoft Docs
ms.custom
ms.date 03/14/2017
ms.prod sql
ms.prod_service database-engine
ms.reviewer
ms.technology system-objects
ms.topic language-reference
f1_keywords
sp_syscollector_disable_collector_TSQL
sp_syscollector_disable_collector
dev_langs
TSQL
helpviewer_keywords
data collector [SQL Server], stored procedures
sp_syscollector_disable_collector
ms.assetid 9ef4c85d-cca6-452d-94be-2be6f616c3d8
author stevestein
ms.author sstein

sp_syscollector_disable_collector (Transact-SQL)

[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx-md]

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

Topic link icon Transact-SQL Syntax Conventions

Syntax

  
dbo.sp_syscollector_disable_collector   

Arguments

None

Return Code Values

0 (success) or 1 (failure)

Remarks

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.

EXEC dbo.sp_syscollector_disable_collector;  

See Also

System Stored Procedures (Transact-SQL)
Data Collection