다음을 통해 공유


TeamFoundationTracingService.TraceProvider.TraceSQL Method

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function TraceSQL ( _
    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 _
) As Boolean
public bool TraceSQL(
    string dataSource,
    string database,
    string operation,
    short retries,
    bool success,
    int totalTime,
    int connectTime,
    int executionTime,
    int waitTime,
    int sqlErrorCode,
    string sqlErrorMessage
)
public:
bool TraceSQL(
    String^ dataSource, 
    String^ database, 
    String^ operation, 
    short retries, 
    bool success, 
    int totalTime, 
    int connectTime, 
    int executionTime, 
    int waitTime, 
    int sqlErrorCode, 
    String^ sqlErrorMessage
)
member TraceSQL : 
        dataSource:string * 
        database:string * 
        operation:string * 
        retries:int16 * 
        success:bool * 
        totalTime:int * 
        connectTime:int * 
        executionTime:int * 
        waitTime:int * 
        sqlErrorCode:int * 
        sqlErrorMessage:string -> bool
public function TraceSQL(
    dataSource : String, 
    database : String, 
    operation : String, 
    retries : short, 
    success : boolean, 
    totalTime : int, 
    connectTime : int, 
    executionTime : int, 
    waitTime : int, 
    sqlErrorCode : int, 
    sqlErrorMessage : String
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

TeamFoundationTracingService.TraceProvider Class

Microsoft.TeamFoundation.Framework.Server Namespace