title | titleSuffix | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | ms.collection | |
---|---|---|---|---|---|---|---|---|---|---|
Start a Trace Automatically After Connecting to a Server |
SQL Server Profiler |
Learn how to start tracing event data automatically in SQL Server Profiler after connecting to an instance of SQL Server. |
rwestMSFT |
randolphwest |
03/14/2017 |
sql |
profiler |
how-to |
|
[!INCLUDE SQL Server Azure SQL Managed Instance]
This topic describes how to start traces automatically after connecting to an instance of [!INCLUDEssNoVersion] by using [!INCLUDEssSqlProfiler].
-
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.