Método TraceReaderWriter.Write

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

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (em Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintaxe

'Declaração
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 de retorno

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()

Exemplos

Readme_Tracer

Consulte também

Referência

TraceReaderWriter Classe

Namespace Microsoft.SqlServer.Management.Trace

Outros recursos

Sinalizadores de rastreamento (Transact-SQL)

Modelos e permissões do SQL Server Profiler