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

Deletes the tasks 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,
	OCGroupEvents ocge,
	int userId,
	bool isAdmin
)
Visual Basic (Declaration)
Public Function DeleteDb ( _
	pwe As DBConstants..::.ProcessWhichEvent, _
	ocge As OCGroupEvents, _
	userId As Integer, _
	isAdmin As Boolean _
) As OCServiceReturnStatus
Visual C++
public:
OCServiceReturnStatus DeleteDb(
	DBConstants..::.ProcessWhichEvent pwe, 
	OCGroupEvents^ ocge, 
	int userId, 
	bool isAdmin
)

Parameters

pwe
Type: OfficeClip.DBLayer..::.DBConstants..::.ProcessWhichEvent
Shows which tasks in recurring tasks needs to be processed
ocge
Type: OfficeClip.BusinessLayer.Service..::.OCGroupEvents
The OfficeClip group event object
userId
Type: System..::.Int32
The unique id of the user
isAdmin
Type: System..::.Boolean
is the user an administrator

Return Value

Returns success or failure values

See Also