TraceTable.InitializeAsReader 方法

Initializes a new instance of the TraceTable class for reading trace data.

命名空间:  Microsoft.SqlServer.Management.Trace
程序集:  Microsoft.SqlServer.ConnectionInfoExtended(在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

语法

声明
Public Sub InitializeAsReader ( _
    serverConnInfo As ConnectionInfoBase, _
    tableName As String, _
    tableOwner As String _
)
用法
Dim instance As TraceTable 
Dim serverConnInfo As ConnectionInfoBase 
Dim tableName As String 
Dim tableOwner As String

instance.InitializeAsReader(serverConnInfo, _
    tableName, tableOwner)
public void InitializeAsReader(
    ConnectionInfoBase serverConnInfo,
    string tableName,
    string tableOwner
)
public:
void InitializeAsReader(
    ConnectionInfoBase^ serverConnInfo, 
    String^ tableName, 
    String^ tableOwner
)
member InitializeAsReader : 
        serverConnInfo:ConnectionInfoBase * 
        tableName:string * 
        tableOwner:string -> unit
public function InitializeAsReader(
    serverConnInfo : ConnectionInfoBase, 
    tableName : String, 
    tableOwner : String
)

参数

  • tableOwner
    类型:System.String
    A String value that specifies the schema to which the trace table belongs.

示例

Readme_Tracer

请参阅

参考

TraceTable 类

Microsoft.SqlServer.Management.Trace 命名空间

其他资源

跟踪标志 (Transact-SQL)

SQL Server Profiler 模板和权限