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

Updates all the reservation information into the database.

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

Syntax

C#
public int UpdateCalendarReservation(
	int eventId,
	int resourceId,
	DateTime startDatetime,
	DateTime endDatetime,
	string purpose,
	string isPrivate
)
Visual Basic (Declaration)
Public Function UpdateCalendarReservation ( _
	eventId As Integer, _
	resourceId As Integer, _
	startDatetime As DateTime, _
	endDatetime As DateTime, _
	purpose As String, _
	isPrivate As String _
) As Integer
Visual C++
public:
int UpdateCalendarReservation(
	int eventId, 
	int resourceId, 
	DateTime startDatetime, 
	DateTime endDatetime, 
	String^ purpose, 
	String^ isPrivate
)

Parameters

eventId
Type: System..::.Int32
Id of the event corresponding to which this reservation is updated.
resourceId
Type: System..::.Int32
Id of the resource being reserved for the reservation.
startDatetime
Type: System..::.DateTime
Starting Date and Time of the event. (This value should be sent converted into the Server's timezone)
endDatetime
Type: System..::.DateTime
Ending Date and Time of the event. (This value should be sent converted into the Server's timezone)
purpose
Type: System..::.String
Purpose of the reservation.
isPrivate
Type: System..::.String
Flag (Y/N) indicating whether the reservation created is private or for a group.

Return Value

0 when successful, -1 in case of error.

See Also