共用方式為


SPJobHistory.ErrorMessage Property

Error message of the job history entry.

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

Syntax

'Declaration
Public ReadOnly Property ErrorMessage As String
    Get
'Usage
Dim instance As SPJobHistory
Dim value As String

value = instance.ErrorMessage
public string ErrorMessage { get; }

Property Value

Type: System.String
A String with the error message.

See Also

Reference

SPJobHistory Class

SPJobHistory Members

Microsoft.SharePoint.Administration Namespace