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

Deletes the task from the database

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

Syntax

C#
public OCServiceReturnStatus DeleteDb(
	DBConstants..::.ProcessWhichEvent pwe,
	OCTask oct,
	int userId,
	int groupId,
	bool isAdmin
)
Visual Basic (Declaration)
Public Function DeleteDb ( _
	pwe As DBConstants..::.ProcessWhichEvent, _
	oct As OCTask, _
	userId As Integer, _
	groupId As Integer, _
	isAdmin As Boolean _
) As OCServiceReturnStatus
Visual C++
public:
OCServiceReturnStatus DeleteDb(
	DBConstants..::.ProcessWhichEvent pwe, 
	OCTask^ oct, 
	int userId, 
	int groupId, 
	bool isAdmin
)

Parameters

pwe
Type: OfficeClip.DBLayer..::.DBConstants..::.ProcessWhichEvent
Shows which tasks in recurring tasks needs to be processed
oct
Type: OfficeClip.BusinessLayer.Service..::.OCTask
The service task object
userId
Type: System..::.Int32
The id of the current user
groupId
Type: System..::.Int32
The unique id of the active organization
isAdmin
Type: System..::.Boolean
Is the current user an administrator

Return Value

Returns success or failure values

See Also