共用方式為


SPJobDefinition.Retry property

取得或設定是否應重試工作定義,如果它不會結束。

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

Syntax

'宣告
Public Property Retry As Boolean
    Get
    Set
'用途
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否則,請false (預設值)。

請參閱

參照

SPJobDefinition class

SPJobDefinition members

Microsoft.SharePoint.Administration namespace