| title | Start a Trace Automatically after Connecting to a Server (SQL Server Profiler) | Microsoft Docs | |||
|---|---|---|---|---|
| ms.custom | ||||
| ms.date | 03/14/2017 | |||
| ms.prod | sql-server-2016 | |||
| ms.reviewer | ||||
| ms.suite | ||||
| ms.technology |
|
|||
| ms.tgt_pltfrm | ||||
| ms.topic | article | |||
| helpviewer_keywords |
|
|||
| ms.assetid | d74b848d-e796-49af-a8c5-dd69230f3a78 | |||
| caps.latest.revision | 21 | |||
| author | JennieHubbard | |||
| ms.author | jhubbard | |||
| manager | jhubbard |
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.