TraceReplay 클래스
The TraceReplay object is a Replay object that represents the replay operation for trace log files and trace tables.
상속 계층
System. . :: . .Object
Microsoft.SqlServer.Management.Trace..::..TraceReplay
네임스페이스: Microsoft.SqlServer.Management.Trace
어셈블리: Microsoft.SqlServer.ConnectionInfoExtended(Microsoft.SqlServer.ConnectionInfoExtended.dll)
구문
‘선언
<ComVisibleAttribute(False)> _
Public Class TraceReplay _
Implements IDisposable
‘사용 방법
Dim instance As TraceReplay
[ComVisibleAttribute(false)]
public class TraceReplay : IDisposable
[ComVisibleAttribute(false)]
public ref class TraceReplay : IDisposable
[<ComVisibleAttribute(false)>]
type TraceReplay =
class
interface IDisposable
end
public class TraceReplay implements IDisposable
TraceReplay 유형에서 다음 멤버를 표시합니다.
속성
이름 | 설명 | |
---|---|---|
![]() |
Connection | Gets or sets the connection with an instance of SQL Server. |
![]() |
Options | Gets or sets the configuration options for replaying the trace. |
![]() |
OutputFile | Gets or sets the name of an optional file to which trace replay output is streamed. |
![]() |
OutputTable | Gets or sets the name of an optional table to which trace replay output is streamed. |
![]() |
Source | Gets or sets the TraceReader object that contains the trace to be replayed. |
맨 위로 이동
메서드
이름 | 설명 | |
---|---|---|
![]() |
Dispose | Deletes the trace information. |
![]() |
Equals | (Object에서 상속됨) |
![]() |
Finalize | Completes the trace replay. (Object. . :: . .Finalize() () () ()을(를) 재정의함) |
![]() |
GetHashCode | (Object에서 상속됨) |
![]() |
GetType | (Object에서 상속됨) |
![]() |
MemberwiseClone | (Object에서 상속됨) |
![]() |
Pause | Pauses the trace replay. |
![]() |
Start | Starts the trace replay. |
![]() |
Stop | Stops the trace replay. |
![]() |
ToString | (Object에서 상속됨) |
맨 위로 이동
이벤트
이름 | 설명 | |
---|---|---|
![]() |
ReplayEvent | Invokes the handler before an event is replayed. |
![]() |
ReplayPause | Invokes the handler before a replayed trace is paused. |
![]() |
ReplayResultEvent | Invokes the handler before a result is returned from a replayed event. |
![]() |
ReplayStart | Invokes the handler before a replayed trace is started. |
![]() |
ReplayStop | Invokes the handler before a replayed trace is stopped. |
맨 위로 이동
주의
With the TraceReplay object you can:
Replay events a from a trace log file or trace table.
Modify trace data as it is replayed.
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 소개.
Thread Safety
이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.
스레드 보안
이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.