TraceFile 클래스

The TraceFile class is a Trace object that represents a trace log file.

네임스페이스:  Microsoft.SqlServer.Management.Trace
어셈블리:  Microsoft.SqlServer.ConnectionInfoExtended.dll의 Microsoft.SqlServer.ConnectionInfoExtended

구문

‘선언
<ComVisibleAttribute(False)> _
Public Class TraceFile _
    Inherits TraceReaderWriter
‘사용 방법
Dim instance As TraceFile
[ComVisibleAttribute(false)]
public class TraceFile : TraceReaderWriter
[ComVisibleAttribute(false)]
public ref class TraceFile : public TraceReaderWriter
[<ComVisibleAttribute(false)>]
type TraceFile =  
    class
        inherit TraceReaderWriter
    end
public class TraceFile extends TraceReaderWriter

주의

With the TraceFile object you can:

  • Read from a trace log file.

  • Write to a trace log file.

In addition to the Trace and Replay objects, the trace log file can be accessed manually with SQL Server 프로파일러 참조 or using a set of Transact-SQL stored procedures called SQL Trace 소개.

예제

Readme_Tracer

상속 계층 구조

System. . :: . .Object
  Microsoft.SqlServer.Management.Trace. . :: . .TraceReader
    Microsoft.SqlServer.Management.Trace. . :: . .TraceReaderWriter
      Microsoft.SqlServer.Management.Trace..::..TraceFile

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.