TraceFile.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.
示例
请参阅
参考
Microsoft.SqlServer.Management.Trace 命名空间