Méthode TraceFile.InitializeAsReader
Initializes the specified TraceFile object for reading data from the trace log file.
Espace de noms : Microsoft.SqlServer.Management.Trace
Assembly : Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)
Syntaxe
'Déclaration
Public Sub InitializeAsReader ( _
fileName As String _
)
'Utilisation
Dim instance As TraceFile
Dim fileName As String
instance.InitializeAsReader(fileName)
public void InitializeAsReader(
string fileName
)
public:
void InitializeAsReader(
String^ fileName
)
member InitializeAsReader :
fileName:string -> unit
public function InitializeAsReader(
fileName : String
)
Paramètres
- fileName
Type : System.String
A String value that specifies the trace log file in which to read the 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