Compartir a través de


Write Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.Trace
Ensamblado:  Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintaxis

'Declaración
Public Function Write As Boolean
'Uso
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

Valor devuelto

Tipo: 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.

Implementa

ITraceDataWriter. . :: . .Write() () () ()

Ejemplos

Readme_Tracer