共用方式為


SPSqlQueryCounter members

Include protected members
Include inherited members

表示追蹤作業期間進行的 SQL 查詢的相關資訊的監視器。針對每一個查詢中,這個監視器追蹤SqlQueryData文字、 呼叫堆疊,並持續時間。

The SPSqlQueryCounter type exposes the following members.

Constructors

  Name Description
Public method SPSqlQueryCounter() 初始化SPSqlQueryCounter類別的新執行個體。
Public method SPSqlQueryCounter(Int32) 初始化SPSqlQueryCounter類別的新執行個體。這個建構函式會初始化監視器用來增加的ValueIsExcessive屬性值的值。
Public method SPSqlQueryCounter(Int32, Double)

Top

Properties

  Name Description
Public property Description
Public propertyStatic member FinishedQueries
Public property Name
Public property Namespace
Public property NameValuePairs
Public propertyStatic member QueryCounts
Public propertyStatic member QueryTotalExecutingTime
Public property SqlQueries
Public property TotalDuration
Public property TotalQueryCount
Public property Value
Public property ValueIsExcessive

Top

Methods

  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 產生的 HTML,使用在資料庫查詢] 區段中的開發人員儀表板。
Public methodStatic member Reset
Public method ToString (Inherited from Object.)

Top

請參閱

參照

SPSqlQueryCounter class

Microsoft.SharePoint.Utilities namespace