[This is preliminary documentation and is subject to change.]
            Sets view 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 SetViewDownload( int documentId, DocHistoryStatus mode, int userId, int groupId )  | 
| Visual Basic (Declaration) | 
|---|
Public Function SetViewDownload ( _ documentId As Integer, _ mode As DocHistoryStatus, _ userId As Integer, _ groupId As Integer _ ) As ReturnStatus  | 
| Visual C++ | 
|---|
public: ReturnStatus SetViewDownload( 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 view 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 
