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

Deletes all the details corresponding to a particular rule indentified by emailRuleId.

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

Syntax

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

Parameters

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

Return Value

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

See Also