Méthode TraceFile.InitializeAsReplayOutputWriter
Initializes the specified TraceFile object for writing data to the trace log file only.
Espace de noms : Microsoft.SqlServer.Management.Trace
Assembly : Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)
Syntaxe
'Déclaration
Public Sub InitializeAsReplayOutputWriter ( _
destinationFileName As String _
)
'Utilisation
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
)
Paramètres
- destinationFileName
Type : System.String
A String value that specifies the destination trace log file in which to write the new trace data.
Exemples
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Trace
Autres ressources
Indicateurs de trace (Transact-SQL)
Modèles et autorisations du générateur de SQL Server Profiler