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

Moves a particular email rule down in the order for the currently logged in user.

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

Syntax

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

Parameters

emailRuleId
Type: System..::.Int32
Id of the email rule which needs to be moved down in order among the other.
userId
Type: System..::.Int32
Unique id for the user

Return Value

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

Remarks

If the email rule id being passed as parameter to this method is that of the last rule in order, it will have no effect.

See Also