Share via


TraceReaderWriter.Write 메서드

Writes the trace to the trace file or the trace table.

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

구문

‘선언
Public Function Write As Boolean
‘사용 방법
Dim instance As TraceReaderWriter 
Dim returnValue As Boolean 

returnValue = instance.Write()
public bool Write()
public:
virtual bool Write() sealed
abstract Write : unit -> bool  
override Write : unit -> bool
public final function Write() : boolean

반환 값

유형: System.Boolean
A Boolean value that specifies whether the trace was written successfully to the trace file or trace table.If True, the trace was written successfully.If False, the trace was not written successfully.

구현

ITraceDataWriter.Write()

Readme_Tracer

참고 항목

참조

TraceReaderWriter 클래스

Microsoft.SqlServer.Management.Trace 네임스페이스

관련 자료

추적 플래그(Transact-SQL)

SQL Server Profiler 템플릿 및 권한