Freigeben über


TraceReaderWriter.Write-Methode

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

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

Syntax

'Declaration
Public Function Write As Boolean
'Usage
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

Rückgabewert

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

Implementiert

ITraceDataWriter.Write()

Beispiele

Readme_Tracer

Siehe auch

Verweis

TraceReaderWriter Klasse

Microsoft.SqlServer.Management.Trace-Namespace

Andere Ressourcen

Ablaufverfolgungsflags (Transact-SQL)

Vorlagen und Berechtigungen in SQL Server Profiler