Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
Adds a new Exception object to the collection.
[Visual Basic, VBScript] Sub Add(Type As String) As IException [C++] HRESULT Add(BSTR Type, IExceptions** pVal); [IDL] HRESULT Add( [in] BSTR Type, [out, retval] IExceptions** pVal); );
The type of exception being added. The valid values are "Add," "Delete," and "Modify."
Adding an exception object with type "Add" adds an appointment instance to a recurring appointment. This exception object generates the iCalendar RDATE property.
Adding an exception object with type "Delete" removes an appointment instance from a recurring appointment. This exception object generates the iCalendar EXDATE property.
Adding an exception object with type "Modify" changes one or more properties of an appointment instance of a recurring appointment.
The following example creates an exception object to delete an instance of a recurring appointment.
Dim objAppt as New Appointment Dim objEXDATE as IException ... Set objEXDATE = objAppt.Exceptions.Add("Delete")