ExchangeService.FindAppointments method (FolderId, CalendarView)

Obtains a list of appointments by searching the contents of a specified folder.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

'Declaration
Public Function FindAppointments ( _
	parentFolderId As FolderId, _
	calendarView As CalendarView _
) As FindItemsResults(Of Appointment)
'Usage
Dim instance As ExchangeService
Dim parentFolderId As FolderId
Dim calendarView As CalendarView
Dim returnValue As FindItemsResults(Of Appointment)

returnValue = instance.FindAppointments(parentFolderId, _
	calendarView)

Parameters

parentFolderId
Type: Microsoft.Exchange.WebServices.Data.FolderId

The ID of the calendar folder to be searched for items.

calendarView
Type: Microsoft.Exchange.WebServices.Data.CalendarView

The calendar view that controls the number of appointments that are returned.

Return value

Type: Microsoft.Exchange.WebServices.Data.FindItemsResults<Appointment>
A collection of appointments that represents the contents of the specified folder.

Calling this method results in a call to Exchange Web Services (EWS).

Show: