TFSProvider.EventWriteEvent_SQL_Info Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
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
)
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
)
member EventWriteEvent_SQL_Info :
Database:string *
Datasource:string *
Operation:string *
Retries:int16 *
Success:bool *
TotalTime:int *
ConnectTime:int *
ExecutionTime:int *
WaitTime:int *
ErrorCode:int *
ErrorMessage:string -> bool
public function EventWriteEvent_SQL_Info(
Database : String,
Datasource : String,
Operation : String,
Retries : short,
Success : boolean,
TotalTime : int,
ConnectTime : int,
ExecutionTime : int,
WaitTime : int,
ErrorCode : int,
ErrorMessage : String
) : boolean
Parameters
- Database
Type: System.String
- Datasource
Type: System.String
- Operation
Type: System.String
- Retries
Type: System.Int16
- Success
Type: System.Boolean
- TotalTime
Type: System.Int32
- ConnectTime
Type: System.Int32
- ExecutionTime
Type: System.Int32
- WaitTime
Type: System.Int32
- ErrorCode
Type: System.Int32
- ErrorMessage
Type: System.String
Return Value
Type: System.Boolean
Returns Boolean.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.