Partager via


IExchangeClientFreeBusyInformation (Windows Embedded CE 6.0)

1/6/2010

This interface provides properties from a single free/busy data entry.

For step-by-step instructions that demonstrate how to use this interface, see Retrieving Information from an Exchange Server.

Methods

The following table shows the methods for this interface in vtable order.

Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

Method Description

GetEmailAddress

Provides the email address for the free/busy data entry.

GetDisplayName

Provides the display name for the free/busy data entry.

GetFreeBusyData

Provides the free/busy data for the free/busy data entry.

Obtaining a Pointer

To obtain a pointer to this interface, call IUnknown::QueryInterface on a reference returned by IExchangeClientDataItemArray::GetItemAt.

Only IExchangeClientDataItemArray instances generated by calls to IExchangeClient::RequestFreeBusyData can be used to retrieve references to this type of interface.

The steps necessary to obtain a pointer to an interface of this type are as follows:

  1. Initiate a request for contact information using the IExchangeClient::RequestFreeBusyData method.
  2. Wait until the request has completed successfully (as indicated by an e_ecrsSucceeded value in the second parameter of the IExchangeClientRequestCallback::OnRequestProgress method).
  3. Call IExchangeClientRequest::GetDataItemArray to retrieve an array of the contact information returned by the Exchange server.
  4. Using the IExchangeClientDataItemArray::GetItemCount and IExchangeClientDataItemArray::GetItemAt methods, retrieve an IUnknown reference for the data you want to access.
  5. Call IUnknown::QueryInterface on the IUnknown reference to retrieve an IExchangeClientFreeBusyInformation reference.

Requirements

Header iexchangeclient.h, iexchangeclient.idl
Library OWAExchangeClient.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Exchange Client Interfaces
IExchangeClient::RequestFreeBusyData
IExchangeClientDataItemArray
IExchangeClientDataItemArray::GetItemAt
IExchangeClientDataItemArray::GetItemCount
IExchangeClientRequest::GetDataItemArray
IExchangeClientRequestCallback::OnRequestProgress

Other Resources

IUnknown
IUnknown::QueryInterface