Метод InitializeAsReader
Initializes the specified TraceFile object for reading data from the trace log file.
Пространство имен: Microsoft.SqlServer.Management.Trace
Сборка: Microsoft.SqlServer.ConnectionInfoExtended (в Microsoft.SqlServer.ConnectionInfoExtended.dll)
Синтаксис
'Декларация
Public Sub InitializeAsReader ( _
fileName As String _
)
'Применение
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
)
Параметры
- fileName
Тип: System. . :: . .String
A String value that specifies the trace log file in which to read the trace data.
См. также