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

Deletes the email preferences for a particular user.

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

Syntax

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

Parameters

userId
Type: System..::.Int32
Id of the user for whom the email preferences.

Return Value

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

See Also