Partager via


Méthode Write

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

Espace de noms :  Microsoft.SqlServer.Management.Trace
Assembly :  Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntaxe

'Déclaration
Public Function Write As Boolean
'Utilisation
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

Valeur de retour

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

Implémente

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

Exemples

Readme_Tracer