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

Accepts the RSVP for a particular user for a particular event.

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

Syntax

C#
public int AcceptRSVP(
	int userId,
	int eventId,
	string status,
	DBConstants..::.ProcessWhichEvent pwe
)
Visual Basic (Declaration)
Public Function AcceptRSVP ( _
	userId As Integer, _
	eventId As Integer, _
	status As String, _
	pwe As DBConstants..::.ProcessWhichEvent _
) As Integer
Visual C++
public:
int AcceptRSVP(
	int userId, 
	int eventId, 
	String^ status, 
	DBConstants..::.ProcessWhichEvent pwe
)

Parameters

userId
Type: System..::.Int32
The unique id of the user.
eventId
Type: System..::.Int32
Id of the event for which the user wants to set the RSVP status.
status
Type: System..::.String
Value indicating the type of avaialability for this user to be displayed to other users for the time perioed of the event. F = Free O = Out of Office B = Busy T = Tentative
pwe
Type: OfficeClip.DBLayer..::.DBConstants..::.ProcessWhichEvent
The kind of event to be processed

Return Value

0 if successful, -1 in case of an error

See Also