TFSProvider.EventWriteEvent_SQL_Info 方法
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
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
)
參數
- Database
型別:System.String
- Datasource
型別:System.String
- Operation
型別:System.String
- Retries
型別:System.Int16
- Success
型別:System.Boolean
- TotalTime
型別:System.Int32
- ConnectTime
型別:System.Int32
- ExecutionTime
型別:System.Int32
- WaitTime
型別:System.Int32
- ErrorCode
型別:System.Int32
- ErrorMessage
型別:System.String
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。