Condividi tramite


RetrieveExchangeAppointmentsRequest Class

Definition

Retrieves the appointments for the current user for a specific date range from the exchange web service.

public ref class RetrieveExchangeAppointmentsRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class RetrieveExchangeAppointmentsRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type RetrieveExchangeAppointmentsRequest = class
    inherit OrganizationRequest
Public NotInheritable Class RetrieveExchangeAppointmentsRequest
Inherits OrganizationRequest
Inheritance
RetrieveExchangeAppointmentsRequest
Attributes

Remarks

For the Web API use the RetrieveExchangeAppointments function.

Use of this message requires that the proper Mailbox and Email Server are set up for the user. If these are not property configured, this message can return the following errors;

ErrorPossible Cause

The remote server returned an error: (401) Unauthorized.

Email credentials are incorrect.

The remote name could not be resolved: '<hostname>'

Invalid Exchange Web Services endpoint

The remote server returned an error: (403) Forbidden.

Invalid SSL (HTTPS) settings

Could not determine exchange server URL..

Auto discovery error.

Constructors

RetrieveExchangeAppointmentsRequest()

Initializes a new instance of the RetrieveExchangeAppointmentsRequest class.

Properties

EndDate

Gets or sets the end date of the range in UTC.

ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
RequestId

Gets or sets the ID of the request. Optional.

(Inherited from OrganizationRequest)
RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
StartDate

Gets or sets the start date of the range in UTC.

Applies to