Edit

Share via


Appointment.BindToOccurrence Method

Definition

Overloads

BindToOccurrence(ExchangeService, ItemId, Int32)

Binds to an occurrence of an existing appointment and loads its first class properties. Calling this method results in a call to Exchange Web Services (EWS).

BindToOccurrence(ExchangeService, ItemId, Int32, PropertySet)

Binds to an occurrence of an existing appointment and loads the specified set of properties. Calling this method results in a call to Exchange Web Services (EWS).

BindToOccurrence(ExchangeService, ItemId, Int32)

Binds to an occurrence of an existing appointment and loads its first class properties. Calling this method results in a call to Exchange Web Services (EWS).

public:
 static Microsoft::Exchange::WebServices::Data::Appointment ^ BindToOccurrence(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::ItemId ^ recurringMasterId, int occurenceIndex);
public static Microsoft.Exchange.WebServices.Data.Appointment BindToOccurrence (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.ItemId recurringMasterId, int occurenceIndex);
Public Shared Function BindToOccurrence (service As ExchangeService, recurringMasterId As ItemId, occurenceIndex As Integer) As Appointment

Parameters

service
ExchangeService

The service to use to bind to the appointment.

recurringMasterId
ItemId

The identifier of the recurring master that the index represents an occurrence of.

occurenceIndex
Int32

The index of the occurrence.

Returns

The appointment occurrence that corresponds to the specified occurrence index.

Applies to

BindToOccurrence(ExchangeService, ItemId, Int32, PropertySet)

Binds to an occurrence of an existing appointment and loads the specified set of properties. Calling this method results in a call to Exchange Web Services (EWS).

public:
 static Microsoft::Exchange::WebServices::Data::Appointment ^ BindToOccurrence(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::ItemId ^ recurringMasterId, int occurenceIndex, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet);
public static Microsoft.Exchange.WebServices.Data.Appointment BindToOccurrence (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.ItemId recurringMasterId, int occurenceIndex, Microsoft.Exchange.WebServices.Data.PropertySet propertySet);

Parameters

service
ExchangeService

The service to use to bind to the appointment.

recurringMasterId
ItemId

The identifier of the recurring master that the index represents an occurrence of.

occurenceIndex
Int32

The index of the occurrence.

propertySet
PropertySet

The set of properties to load.

Returns

The appointment occurrence that corresponds to the specified occurrence index.

Applies to