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