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

Inserts the reminder details of a single reminder, this method is called from the main routine to Insert repeated reminders.

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

Syntax

C#
protected int InsSingleReminder(
	int reminder_id,
	string reminder_message,
	DateTime remind_at,
	DateTime server_remind_at,
	int detail_id,
	int userId,
	TimeZoneInfo userTz
)
Visual Basic (Declaration)
Protected Function InsSingleReminder ( _
	reminder_id As Integer, _
	reminder_message As String, _
	remind_at As DateTime, _
	server_remind_at As DateTime, _
	detail_id As Integer, _
	userId As Integer, _
	userTz As TimeZoneInfo _
) As Integer
Visual C++
protected:
int InsSingleReminder(
	int reminder_id, 
	String^ reminder_message, 
	DateTime remind_at, 
	DateTime server_remind_at, 
	int detail_id, 
	int userId, 
	TimeZoneInfo^ userTz
)

Parameters

reminder_id
Type: System..::.Int32
Id of the previously created reminder for which subsequent repeating reminder details have to be created.
reminder_message
Type: System..::.String
The remind message.
remind_at
Type: System..::.DateTime
The time when to remind at for the user.
server_remind_at
Type: System..::.DateTime
The time when reminded at on the server.
detail_id
Type: System..::.Int32
Reminder detail id corresponding to the reminder to distinguish between a set of repeating reminders.
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