Поделиться через


Метод InitializeAsReplayOutputWriter

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

Пространство имен:  Microsoft.SqlServer.Management.Trace
Сборка:  Microsoft.SqlServer.ConnectionInfoExtended (в Microsoft.SqlServer.ConnectionInfoExtended.dll)

Синтаксис

'Декларация
Public Sub InitializeAsReplayOutputWriter ( _
    destinationFileName As String _
)
'Применение
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
)

Параметры

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

Примеры

Readme_Tracer