次の方法で共有


SPJobDefinition.Retry property

Gets or sets whether the job definition should be retried if it ends abnormally.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Retry As Boolean
    Get
    Set
'Usage
Dim instance As SPJobDefinition
Dim value As Boolean

value = instance.Retry

instance.Retry = value
public bool Retry { get; set; }

Property value

Type: System.Boolean
true to retry the job definition; otherwise, false (the default).

See also

Reference

SPJobDefinition class

SPJobDefinition members

Microsoft.SharePoint.Administration namespace