Freigeben über


TraceTable.InitializeAsReader-Methode

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

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntax

'Declaration
Public Sub InitializeAsReader ( _
    serverConnInfo As ConnectionInfoBase, _
    tableName As String, _
    tableOwner As String _
)
'Usage
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
)

Parameter

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

Beispiele

Readme_Tracer

Siehe auch

Verweis

TraceTable Klasse

Microsoft.SqlServer.Management.Trace-Namespace

Andere Ressourcen

Ablaufverfolgungsflags (Transact-SQL)

Vorlagen und Berechtigungen in SQL Server Profiler