Share via


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)

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