[This is preliminary documentation and is subject to change.]
Deletes the Topic and corresponding replies from the Database.
Namespace:
OfficeClip.DBLayer.OfficePortalAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public int DeleteTopic( int topicId, int currentUserId, bool isCurrentUserAdmin ) |
Visual Basic (Declaration) |
---|
Public Function DeleteTopic ( _ topicId As Integer, _ currentUserId As Integer, _ isCurrentUserAdmin As Boolean _ ) As Integer |
Visual C++ |
---|
public: int DeleteTopic( int topicId, int currentUserId, bool isCurrentUserAdmin ) |
Parameters
- topicId
- Type: System..::.Int32
The Id of the Topic to be deleted.
- currentUserId
- Type: System..::.Int32
The unique id of the user
- isCurrentUserAdmin
- Type: System..::.Boolean
Is the current user an administrator