This topic has not yet been rated - Rate this topic

Decline Method

Exchange Server 2003

Prepares and returns a CalendarMessage object for declining a meeting request.

Applies To

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

[Visual Basic]Function Decline(    [CleanupCalendar As Boolean],
    [UserName As String],
    [Password As String]) As ICalendarMessage

[C++]HRESULT Decline
(
    VARIANT_BOOL CleanupCalendar,
    BSTR UserName,
    BSTR Password,
    ICalendarMessage** pVal
);

Parameters

CleanupCalendar
When TRUE, the meeting being canceled is deleted from the calendar folder. When FALSE, the meeting is marked canceled but is not actually deleted.
UserName
The user name of the owner of the calendar. This value is required when CleanupCalendar is TRUE.
Password
The password of the owner of the calendar. This value is required when CleanupCalendar is TRUE.
pVal
Returned reference to an ICalendarMessage Interface.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

CalendarMessage CoClass

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.