TraceFile.InitializeAsWriter(TraceReader, 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 TraceFile object for reading trace data from a TraceReader object, analyzing the data, and writing data the referenced trace log file.
public:
void InitializeAsWriter(Microsoft::SqlServer::Management::Trace::TraceReader ^ source, System::String ^ destinationFileName);
public void InitializeAsWriter (Microsoft.SqlServer.Management.Trace.TraceReader source, string destinationFileName);
member this.InitializeAsWriter : Microsoft.SqlServer.Management.Trace.TraceReader * string -> unit
Public Sub InitializeAsWriter (source As TraceReader, destinationFileName As String)
Parameters
- source
- TraceReader
A TraceReader object that specifies the trace log file that contains trace data. This object can represent a trace table or a trace file.
- destinationFileName
- String
A String value that specifies the destination trace log file in which to write the new trace data.