Trace event data can be accessed programmatically by querying the corresponding trace table, parsing the trace file, or using the SQL Server Management Objects (SMO) TraceReader Class.

  • 通过查询相应的跟踪表、分析跟踪文件或使用SQL Server管理对象(SMO)TraceReader类能够以编程方式访问跟踪事件数据。
目录 查词历史