共用方式為


SPJobDefinition.HistoryEntries Property

Enumerate the job history entries for this job definition.

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

Syntax

'Declaration
Public ReadOnly Property HistoryEntries As IEnumerable(Of SPJobHistory)
    Get
'Usage
Dim instance As SPJobDefinition
Dim value As IEnumerable(Of SPJobHistory)

value = instance.HistoryEntries
public IEnumerable<SPJobHistory> HistoryEntries { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<SPJobHistory>
A SPJobHistory object that contains metadata about the jobs that were running on this server.

Remarks

Gets a localized description of the job definition. Causes the job definition to save its state and propagate changes to all machines in the farm.

See Also

Reference

SPJobDefinition Class

SPJobDefinition Members

Microsoft.SharePoint.Administration Namespace