[This is preliminary documentation and is subject to change.]
Removes the Attachment document attached to another OfficeClip object.
Namespace:
OfficeClip.DBLayer.DesktopAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public ReturnStatus RemoveAttachment( int documentId, int currentUserId, bool isCurrentUserAdmin ) |
Visual Basic (Declaration) |
---|
Public Function RemoveAttachment ( _ documentId As Integer, _ currentUserId As Integer, _ isCurrentUserAdmin As Boolean _ ) As ReturnStatus |
Visual C++ |
---|
public: ReturnStatus RemoveAttachment( int documentId, int currentUserId, bool isCurrentUserAdmin ) |
Parameters
- documentId
- Type: System..::.Int32
Id of the document being deleted.
- currentUserId
- Type: System..::.Int32
The unique id of the current user
- isCurrentUserAdmin
- Type: System..::.Boolean
Is the current user an administrator