TeamFoundationTracingService.TraceProvider.TraceSQL (Método)
Espacio de nombres: Microsoft.TeamFoundation.Framework.Server
Ensamblado: Microsoft.TeamFoundation.Framework.Server (en Microsoft.TeamFoundation.Framework.Server.dll)
Sintaxis
'Declaración
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
- dataSource
Tipo: System.String
- database
Tipo: System.String
- operation
Tipo: System.String
- retries
Tipo: System.Int16
- success
Tipo: System.Boolean
- totalTime
Tipo: System.Int32
- connectTime
Tipo: System.Int32
- executionTime
Tipo: System.Int32
- waitTime
Tipo: System.Int32
- sqlErrorCode
Tipo: System.Int32
- sqlErrorMessage
Tipo: System.String
Valor devuelto
Tipo: System.Boolean
Devuelva Boolean.
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
TeamFoundationTracingService.TraceProvider Clase
Microsoft.TeamFoundation.Framework.Server (Espacio de nombres)