TeamFoundationRequestContext.LogSqlCall Method
Add a SQL Server call to the SQL Server calls logs.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Sub LogSqlCall ( _
methodTime As MethodTime _
)
public virtual void LogSqlCall(
MethodTime methodTime
)
public:
virtual void LogSqlCall(
MethodTime^ methodTime
)
abstract LogSqlCall :
methodTime:MethodTime -> unit
override LogSqlCall :
methodTime:MethodTime -> unit
public function LogSqlCall(
methodTime : MethodTime
)
Parameters
methodTime
Type: Microsoft.TeamFoundation.Framework.Server.MethodTimeMethod time object that contains sproc name and execution time.
.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.