[This is preliminary documentation and is subject to change.]

Removes the document

Namespace:  OfficeClip.DBLayer.Desktop
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public ReturnStatus RemoveDocument(
	int documentId,
	int userId,
	int groupId,
	bool isAdmin
)
Visual Basic (Declaration)
Public Function RemoveDocument ( _
	documentId As Integer, _
	userId As Integer, _
	groupId As Integer, _
	isAdmin As Boolean _
) As ReturnStatus
Visual C++
public:
ReturnStatus RemoveDocument(
	int documentId, 
	int userId, 
	int groupId, 
	bool isAdmin
)

Parameters

documentId
Type: System..::.Int32
Id of the document being deleted.
userId
Type: System..::.Int32
The unique id of the user.
groupId
Type: System..::.Int32
Id of a particular group.
isAdmin
Type: System..::.Boolean
Flag (True/False) indicating whether the user (whose userId, is passed as argument) is an admin or not.

Return Value

Enumerated value Utils.ReturnStatus indicating if the operation succeeded or failed. OfficeClip.Utils..::.ReturnStatus

See Also