共用方式為


SPTimerJobUsageEntry.QueryCount Property

Gets or sets an integer value representing the total number of database queries that are generated during the execution of a timer job.

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

Syntax

'Declaration
Public Property QueryCount As Integer
    Get
    Set
'Usage
Dim instance As SPTimerJobUsageEntry
Dim value As Integer

value = instance.QueryCount

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

Property Value

Type: System.Int32
Returns a Int32 value representing the count.

See Also

Reference

SPTimerJobUsageEntry Class

SPTimerJobUsageEntry Members

Microsoft.SharePoint.Administration Namespace