Metoda TFSProvider.EventWriteEvent_SQL_Info —
Przestrzeń nazw: Microsoft.TeamFoundation.Framework.Server
Zestaw: Microsoft.TeamFoundation.Framework.Server (w Microsoft.TeamFoundation.Framework.Server.dll)
Składnia
'Deklaracja
Public Function EventWriteEvent_SQL_Info ( _
Database As String, _
Datasource As String, _
Operation As String, _
Retries As Short, _
Success As Boolean, _
TotalTime As Integer, _
ConnectTime As Integer, _
ExecutionTime As Integer, _
WaitTime As Integer, _
ErrorCode As Integer, _
ErrorMessage As String _
) As Boolean
public bool EventWriteEvent_SQL_Info(
string Database,
string Datasource,
string Operation,
short Retries,
bool Success,
int TotalTime,
int ConnectTime,
int ExecutionTime,
int WaitTime,
int ErrorCode,
string ErrorMessage
)
Parametry
- Database
Typ: System.String
- Datasource
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
- ErrorCode
Typ: System.Int32
- ErrorMessage
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..