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)
Available in Sandboxed Solutions: No

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