หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Applies to:
SQL Server
Disables the data collector. Because there's only one data collector per server, no parameters are required.
Transact-SQL syntax conventions
Syntax
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;