Metoda TeamFoundationTracingService.TraceProvider.TraceSQL —
Przestrzeń nazw: Microsoft.TeamFoundation.Framework.Server
Zestaw: Microsoft.TeamFoundation.Framework.Server (w Microsoft.TeamFoundation.Framework.Server.dll)
Składnia
'Deklaracja
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
)
Parametry
- dataSource
Typ: System.String
- database
Typ: System.String
- operation
Typ: System.String
- retries
Typ: System.Int16
- success
Typ: System.Boolean
- totalTime
Typ: System.Int32
- connectTime
Typ: System.Int32
- executionTime
Typ: System.Int32
- waitTime
Typ: System.Int32
- sqlErrorCode
Typ: System.Int32
- sqlErrorMessage
Typ: System.String
Wartość zwracana
Typ: System.Boolean
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..