SPSqlQueryCounter members

Represents a monitor that tracks information about the SQL queries that are made during an operation. For each query, this monitor tracks the SqlQueryData text, the call stack, and the duration.

The SPSqlQueryCounter type exposes the following members.

  Name Description
Public method SPSqlQueryCounter() Initializes a new instance of the SPSqlQueryCounter class.
Public method SPSqlQueryCounter(Int32) Initializes a new instance of the SPSqlQueryCounter class. This constructor initializes the monitor with a value that is used to increase the value of the ValueIsExcessive property.
Public method SPSqlQueryCounter(Int32, Double)

  Name Description
Public method Dispose()
Protected method Dispose(Boolean)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RenderValueForWeb Generates the HTML that is used in the Database Queries section of the Developer Dashboard.
Public method Static member Reset
Public method ToString (Inherited from Object.)