SPSqlQueryCounter class
Collapse the table of content
Expand the table of content

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.


Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public class SPSqlQueryCounter : ISPScopedPerformanceMonitor, 
	IDisposable, ISPPerformanceMonitor, ISupportNameValuePairsSerialization

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