共用方式為


SPDeveloperDashboardSettings.MaximumSQLQueriesToTrack Property

The maximum number of SQL queries that will be recorded in a single transaction (i.e. one request or timer job). If a single transaction executes more than this number of requests the query will be counted but the query call stack and text will not be kept.

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

Syntax

'Declaration
Public Property MaximumSQLQueriesToTrack As Integer
    Get
    Set
'Usage
Dim instance As SPDeveloperDashboardSettings
Dim value As Integer

value = instance.MaximumSQLQueriesToTrack

instance.MaximumSQLQueriesToTrack = value
public int MaximumSQLQueriesToTrack { get; set; }

Property Value

Type: System.Int32
A Int32 representation of the maximum number of queries that will be recorded.

See Also

Reference

SPDeveloperDashboardSettings Class

SPDeveloperDashboardSettings Members

Microsoft.SharePoint.Administration Namespace