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

Sets a response to an invitation in the alert.

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

Syntax

C#
public int SetInvitationResponse(
	int alertId,
	string response,
	int userId
)
Visual Basic (Declaration)
Public Function SetInvitationResponse ( _
	alertId As Integer, _
	response As String, _
	userId As Integer _
) As Integer
Visual C++
public:
int SetInvitationResponse(
	int alertId, 
	String^ response, 
	int userId
)

Parameters

alertId
Type: System..::.Int32
Id of the alert for which the response has to be set.
response
Type: System..::.String
The response to be set.
userId
Type: System..::.Int32
Unique id of the user

Return Value

0 when successful, -1 otherwise.

See Also