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

Inserts repeated reminders in the database.

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

Syntax

C#
public int InsReminder(
	string reminder_message,
	DateTime remind_at,
	RecurrenceInfo ri,
	int userId,
	TimeZoneInfo userTz
)
Visual Basic (Declaration)
Public Function InsReminder ( _
	reminder_message As String, _
	remind_at As DateTime, _
	ri As RecurrenceInfo, _
	userId As Integer, _
	userTz As TimeZoneInfo _
) As Integer
Visual C++
public:
int InsReminder(
	String^ reminder_message, 
	DateTime remind_at, 
	RecurrenceInfo^ ri, 
	int userId, 
	TimeZoneInfo^ userTz
)

Parameters

reminder_message
Type: System..::.String
The remind message.
remind_at
Type: System..::.DateTime
The time when reminded at.
ri
Type: OfficeClip.BusinessLayer.Desktop..::.RecurrenceInfo
Instance of the recurrenceInfo object containing repeating information. RecurrenceInfo
userId
Type: System..::.Int32
The unique id of the user
userTz
Type: OfficeClip.Utils..::.TimeZoneInfo
The user timezone

Return Value

Id of the newly created reminder if successful, -1 in case of an error.

See Also