Partilhar via


Método InitializeAsReader

Initializes the specified TraceFile object for reading data from the trace log file.

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

Sintaxe

'Declaração
Public Sub InitializeAsReader ( _
    fileName As String _
)
'Uso
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
)

Parâmetros

Exemplos

Readme_Tracer