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

Moves a particular email rule up 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 UpdateEmailMoveRuleUp(
	int emailRuleId,
	int userId
)
Visual Basic (Declaration)
Public Function UpdateEmailMoveRuleUp ( _
	emailRuleId As Integer, _
	userId As Integer _
) As Integer
Visual C++
public:
int UpdateEmailMoveRuleUp(
	int emailRuleId, 
	int userId
)

Parameters

emailRuleId
Type: System..::.Int32
Id of the email rule which needs to be moved up 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 first rule in order, it will have no effect.

See Also