[This is preliminary documentation and is subject to change.]
Deletes a particular poll identified by pollId.
Namespace:
OfficeClip.DBLayer.OfficePortalAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public void Delete( int pollId, int userId, bool isCurrentUserAdmin ) |
Visual Basic (Declaration) |
---|
Public Sub Delete ( _ pollId As Integer, _ userId As Integer, _ isCurrentUserAdmin As Boolean _ ) |
Visual C++ |
---|
public: void Delete( int pollId, int userId, bool isCurrentUserAdmin ) |
Parameters
- pollId
- Type: System..::.Int32
Id of the poll which needs to be deleted.
- userId
- Type: System..::.Int32
The unique id of the user
- isCurrentUserAdmin
- Type: System..::.Boolean
Is the current user an administrator