Export (0) Print
Expand All

SPFile.ReleaseLock method

Releases an existing lock that is specified by its identifier (ID).

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

public void ReleaseLock(
	string lockId
)

Parameters

lockId
Type: System.String

The ID of the existing lock on the file.

ExceptionCondition
SPException

An error occurred while releasing the lock.

Show:
© 2014 Microsoft