共用方式為


SPTimerJobUsageEntry.QueryDurationSum Property

The sum of the duration in milliseconds of all database queries that are generated during execution of the timer job.

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

Syntax

'Declaration
Public Property QueryDurationSum As Long
    Get
    Set
'Usage
Dim instance As SPTimerJobUsageEntry
Dim value As Long

value = instance.QueryDurationSum

instance.QueryDurationSum = value
public long QueryDurationSum { get; set; }

Property Value

Type: System.Int64
Returns an Int64 representing milliseconds.

See Also

Reference

SPTimerJobUsageEntry Class

SPTimerJobUsageEntry Members

Microsoft.SharePoint.Administration Namespace