[This is preliminary documentation and is subject to change.]
Deletes a task
Namespace:
OfficeClip.DBLayer.DesktopAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public DBConstants..::.ReturnValue DeleteTask( int taskId, DBConstants..::.ProcessWhichEvent whichEvent, bool isRestricted, int userId, int groupId, bool isAdmin ) |
Visual Basic (Declaration) |
---|
Public Function DeleteTask ( _ taskId As Integer, _ whichEvent As DBConstants..::.ProcessWhichEvent, _ isRestricted As Boolean, _ userId As Integer, _ groupId As Integer, _ isAdmin As Boolean _ ) As DBConstants..::.ReturnValue |
Visual C++ |
---|
public: DBConstants..::.ReturnValue DeleteTask( int taskId, DBConstants..::.ProcessWhichEvent whichEvent, bool isRestricted, int userId, int groupId, bool isAdmin ) |
Parameters
- taskId
- Type: System..::.Int32
The unique id of the task
- whichEvent
- Type: OfficeClip.DBLayer..::.DBConstants..::.ProcessWhichEvent
Determines whether the event is for this group, all groups or personal event
- isRestricted
- Type: System..::.Boolean
if true then delete will verify the group and user id to protect deletion oftask from the non-current group or personal task of other users
- userId
- Type: System..::.Int32
The unique id of the user
- groupId
- Type: System..::.Int32
The unique id of the organization
- isAdmin
- Type: System..::.Boolean
is the user and administration