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
- fileName
Tipo: System. . :: . .String
A String value that specifies the trace log file in which to read the trace data.
Consulte também