共用方式為


SPSqlQueryCounter.QueryTotalExecutingTime property

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

Syntax

'宣告
Public Shared ReadOnly Property QueryTotalExecutingTime As Integer
    Get
'用途
Dim value As Integer

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

Property value

Type: System.Int32

請參閱

參照

SPSqlQueryCounter class

SPSqlQueryCounter members

Microsoft.SharePoint.Utilities namespace