共用方式為


SPTimerService.LockTimeout property

取得或設定指定的服務鎖定逾時的時間長度的整數值。

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

Syntax

'宣告
Public Property LockTimeout As Integer
    Get
    Set
'用途
Dim instance As SPTimerService
Dim value As Integer

value = instance.LockTimeout

instance.LockTimeout = value
public int LockTimeout { get; set; }

Property value

Type: System.Int32
會傳回指定的服務鎖定逾時之前的分鐘數的整數。預設值為 20 分鐘。

請參閱

參照

SPTimerService class

SPTimerService members

Microsoft.SharePoint.Administration namespace

LockRefreshSchedule