共用方式為


SPTimerJobUsageEntry.Duration Property

Gets or sets and integer value representing the amount of time in milliseconds that it takes for the timer job to execute.

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

Syntax

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

value = instance.Duration

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

Property Value

Type: System.Int64
Returns an Int64 value representing milliseconds.

See Also

Reference

SPTimerJobUsageEntry Class

SPTimerJobUsageEntry Members

Microsoft.SharePoint.Administration Namespace