Share via


ITraceDataWriter.Write Method

Writes the SQL Trace.

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

Syntax

'Declaration
Function Write As Boolean
'Usage
Dim instance As ITraceDataWriter 
Dim returnValue As Boolean 

returnValue = instance.Write()
bool Write()
bool Write()
abstract Write : unit -> bool
function Write() : boolean

Return Value

Type: System.Boolean
A Boolean value that specifies whether the write operation was successful.If True, the write operation succeeded;otherwise, False.

Examples

Readme_Tracer

See Also

Reference

ITraceDataWriter Interface

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Trace Flags (Transact-SQL)

SQL Server Profiler Templates and Permissions