หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
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.