Share via


GetNextInstance Method

Topic Last Modified: 2006-06-13

Returns the next instance of a recurring appointment based on the start and end times from the GetFirstInstance Method. Returns the first instance of a recurring appointment if not preceded by GetFirstInstance Method or another call to GetNextInstance.

Applies To

IAppointment Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Function GetNextInstance() As IAppointment
HRESULT GetNextInstance
(
        IAppointment** pVal
);

Parameters

Return Value

Returns S_OK if successful, or an error value otherwise.