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

Deletes the event from the database

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

Syntax

C#
public OCMap DeleteDb(
	DBConstants..::.ProcessWhichEvent pwe,
	OCEvent oce,
	int userId,
	bool isAdmin
)
Visual Basic (Declaration)
Public Function DeleteDb ( _
	pwe As DBConstants..::.ProcessWhichEvent, _
	oce As OCEvent, _
	userId As Integer, _
	isAdmin As Boolean _
) As OCMap
Visual C++
public:
OCMap^ DeleteDb(
	DBConstants..::.ProcessWhichEvent pwe, 
	OCEvent^ oce, 
	int userId, 
	bool isAdmin
)

Parameters

pwe
Type: OfficeClip.DBLayer..::.DBConstants..::.ProcessWhichEvent
Shows which events in recurring tasks needs to be processed
oce
Type: OfficeClip.BusinessLayer.Service..::.OCEvent
The service event object
userId
Type: System..::.Int32
The unique id of the user
isAdmin
Type: System..::.Boolean
Is the current user an administrator

Return Value

Returns success or failure values

See Also