Start a Trace Automatically after Connecting to a Server (SQL Server Profiler)
Applies to:
SQL Server
Azure SQL Managed Instance
This topic describes how to start traces automatically after connecting to an instance of SQL Server by using SQL Server Profiler.
To start a trace automatically after connecting to a server with SQL Server Profiler
On the Tools menu, click Options.
Select the Start tracing immediately after making a connection check box.
Note
If Start tracing immediately after making connectionis selected, the Trace Propertiesdialog box fails to appear and the trace begins instead. To edit trace properties, you must first turn this setting off.
See Also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho