Compartilhar via


Método InitializeAsReplayOutputWriter

Initializes the specified TraceFile object for writing data to the trace log file only.

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

Sintaxe

'Declaração
Public Sub InitializeAsReplayOutputWriter ( _
    destinationFileName As String _
)
'Uso
Dim instance As TraceFile
Dim destinationFileName As String

instance.InitializeAsReplayOutputWriter(destinationFileName)
public void InitializeAsReplayOutputWriter(
    string destinationFileName
)
public:
void InitializeAsReplayOutputWriter(
    String^ destinationFileName
)
member InitializeAsReplayOutputWriter : 
        destinationFileName:string -> unit 
public function InitializeAsReplayOutputWriter(
    destinationFileName : String
)

Parâmetros

  • destinationFileName
    Tipo: System. . :: . .String
    A String value that specifies the destination trace log file in which to write the new trace data.

Exemplos

Readme_Tracer