共用方式為


TeamFoundationTracingService.TraceProvider.TraceSQL 方法

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
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
)

參數

傳回值

型別:System.Boolean

.NET Framework 安全性

請參閱

參考

TeamFoundationTracingService.TraceProvider 類別

Microsoft.TeamFoundation.Framework.Server 命名空間