命名空间: 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。