Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Sub TraceSql ( _
    tracepoint As Integer, _
    dataSource As String, _
    database As String, _
    operation As String, _
    retries As Short, _
    success As Boolean, _
    totalTime As Integer, _
    connectTime As Integer, _
    executionTime As Integer, _
    waitTime As Integer, _
    sqlErrorCode As Integer, _
    sqlErrorMessage As String _
)
public virtual void TraceSql(
    int tracepoint,
    string dataSource,
    string database,
    string operation,
    short retries,
    bool success,
    int totalTime,
    int connectTime,
    int executionTime,
    int waitTime,
    int sqlErrorCode,
    string sqlErrorMessage
)
public:
virtual void TraceSql(
    int tracepoint, 
    String^ dataSource, 
    String^ database, 
    String^ operation, 
    short retries, 
    bool success, 
    int totalTime, 
    int connectTime, 
    int executionTime, 
    int waitTime, 
    int sqlErrorCode, 
    String^ sqlErrorMessage
)
abstract TraceSql : 
        tracepoint:int * 
        dataSource:string * 
        database:string * 
        operation:string * 
        retries:int16 * 
        success:bool * 
        totalTime:int * 
        connectTime:int * 
        executionTime:int * 
        waitTime:int * 
        sqlErrorCode:int * 
        sqlErrorMessage:string -> unit  
override TraceSql : 
        tracepoint:int * 
        dataSource:string * 
        database:string * 
        operation:string * 
        retries:int16 * 
        success:bool * 
        totalTime:int * 
        connectTime:int * 
        executionTime:int * 
        waitTime:int * 
        sqlErrorCode:int * 
        sqlErrorMessage:string -> unit
public function TraceSql(
    tracepoint : int, 
    dataSource : String, 
    database : String, 
    operation : String, 
    retries : short, 
    success : boolean, 
    totalTime : int, 
    connectTime : int, 
    executionTime : int, 
    waitTime : int, 
    sqlErrorCode : int, 
    sqlErrorMessage : String
)
Parameters
- tracepoint
 Type: System.Int32
- dataSource
 Type: System.String
- database
 Type: System.String
- operation
 Type: System.String
- retries
 Type: System.Int16
- success
 Type: System.Boolean
- totalTime
 Type: System.Int32
- connectTime
 Type: System.Int32
- executionTime
 Type: System.Int32
- waitTime
 Type: System.Int32
- sqlErrorCode
 Type: System.Int32
- sqlErrorMessage
 Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.