共用方式為


SPSqlQueryCounter.QueryCounts Property

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

Syntax

'Declaration
Public Shared ReadOnly Property QueryCounts As Integer
    Get
'Usage
Dim value As Integer

value = SPSqlQueryCounter.QueryCounts
public static int QueryCounts { get; }

Property Value

Type: System.Int32

See Also

Reference

SPSqlQueryCounter Class

SPSqlQueryCounter Members

Microsoft.SharePoint.Utilities Namespace