[This is preliminary documentation and is subject to change.]
Sets lock and Download status on a particular document for the currently logged in user.
Namespace:
OfficeClip.DBLayer.DesktopAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public ReturnStatus SetLockDownload( int documentId, DocHistoryStatus mode, int userId, int groupId ) |
Visual Basic (Declaration) |
---|
Public Function SetLockDownload ( _ documentId As Integer, _ mode As DocHistoryStatus, _ userId As Integer, _ groupId As Integer _ ) As ReturnStatus |
Visual C++ |
---|
public: ReturnStatus SetLockDownload( int documentId, DocHistoryStatus mode, int userId, int groupId ) |
Parameters
- documentId
- Type: System..::.Int32
Id of the document.
- mode
- Type: OfficeClip.Utils..::.DocHistoryStatus
The mode in which the lock and Download status has been put on the document. OfficeClip.Utils..::.DocHistoryStatus
- userId
- Type: System..::.Int32
The unique id of the user
- groupId
- Type: System..::.Int32
The unique id of the group