TraceTable.InitializeAsWriter(TraceReader, ConnectionInfoBase, String) Method

Definition

Initializes the specified TraceTable object for reading trace data from a TraceReader object, analyzing the data, and writing data to the referenced trace table.

public:
 void InitializeAsWriter(Microsoft::SqlServer::Management::Trace::TraceReader ^ source, Microsoft::SqlServer::Management::Common::ConnectionInfoBase ^ serverConnInfo, System::String ^ destinationTableName);
public void InitializeAsWriter (Microsoft.SqlServer.Management.Trace.TraceReader source, Microsoft.SqlServer.Management.Common.ConnectionInfoBase serverConnInfo, string destinationTableName);
member this.InitializeAsWriter : Microsoft.SqlServer.Management.Trace.TraceReader * Microsoft.SqlServer.Management.Common.ConnectionInfoBase * string -> unit
Public Sub InitializeAsWriter (source As TraceReader, serverConnInfo As ConnectionInfoBase, destinationTableName As String)

Parameters

source
TraceReader

A TraceReader object value that specifies the source of the trace data. This object can represent a trace table or a trace file.

serverConnInfo
ConnectionInfoBase

A SqlConnectionInfo object value that specifies the information required to establish a connection with the instance of Microsoft SQL Server that contains the trace table.

destinationTableName
String

A String value that specifies the name of the trace table to write the replay trace output data.

Examples

Readme_Tracer

Applies to