SPSqlQueryCounter Class

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.

System.Object
  Microsoft.SharePoint.Utilities.SPSqlQueryCounter

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public class SPSqlQueryCounter : ISPScopedPerformanceMonitor, 
	IDisposable, ISPPerformanceMonitor

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: