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
返回 Boolean

.NET Framework 安全性

请参阅

参考

TeamFoundationTracingService.TraceProvider 类

Microsoft.TeamFoundation.Framework.Server 命名空间