TraceTable.InitializeAsWriter(TraceReader, ConnectionInfoBase, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.