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

Deletes a particular email idenfied by emailId in the database and the filesystem.

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

Syntax

C#
public int DeleteEmail(
	int emailId,
	int userId
)
Visual Basic (Declaration)
Public Function DeleteEmail ( _
	emailId As Integer, _
	userId As Integer _
) As Integer
Visual C++
public:
int DeleteEmail(
	int emailId, 
	int userId
)

Parameters

emailId
Type: System..::.Int32
Id of the email which needs to be deleted.
userId
Type: System..::.Int32
Unique id for the user

Return Value

0 when successful, -1 in case of an error.

See Also