Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
This topic describes how to use stored procedures to delete a trace.
For an example of using trace stored procedures, see Create a Trace (Transact-SQL).
To delete a trace
Execute sp_trace_setstatus by specifying @status = 0 to stop the trace.
Execute sp_trace_setstatus by specifying @status = 2 to close the trace and delete its information from the server.
[!UWAGA]
A trace must be stopped first before it can be closed.
Zobacz także
Odwołanie
sp_trace_setstatus (Transact-SQL)