SPFile.RefreshLock method
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub RefreshLock ( _
lockId As String, _
timeout As TimeSpan _
)
'用途
Dim instance As SPFile
Dim lockId As String
Dim timeout As TimeSpan
instance.RefreshLock(lockId, timeout)
public void RefreshLock(
string lockId,
TimeSpan timeout
)
參數
lockId
Type: System.String目前的鎖定識別碼 (ID)。
timeout
Type: System.TimeSpan指定的鎖定會重新整理的期間。
Exceptions
Exception | Condition |
---|---|
SPException | 重新整理鎖定時發生錯誤。 |