Compartilhar via


Método TeamFoundationTracingService.TraceProvider.TraceSQL

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

Sintaxe

'Declaração
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
)

Parâmetros

Valor de retorno

Tipo: System.Boolean
Retorna Boolean.

Segurança do .NET Framework

Consulte também

Referência

TeamFoundationTracingService.TraceProvider Classe

Namespace Microsoft.TeamFoundation.Framework.Server