共用方式為


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
)

參數

Exceptions

Exception Condition
SPException

重新整理鎖定時發生錯誤。

請參閱

參照

SPFile class

SPFile members

Microsoft.SharePoint namespace

ReleaseLock(String)