共用方式為


SPFile.SPLockType Enumeration

Describes the type of lock that is on a file.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public Enumeration SPLockType
'Usage
Dim instance As SPFile.SPLockType
[SubsetCallableTypeAttribute]
public enum SPLockType

Members

Member name Description
Exclusive The file is locked for editing by a single user. No other user can modify the file until the lock is released.
Shared The file is locked for editing by a group who are using a collaborative application. Other users are prevented from modifying the file until the lock is released.
None The file is not locked.

See Also

Reference

Microsoft.SharePoint Namespace