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.