次の方法で共有


InitializeAsReader メソッド

トレース データの読み取り用に TraceTable クラスの新しいインスタンスを初期化します。

名前空間:  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
)

パラメーター

使用例

Readme_Tracer