共用方式為


IAppointment::get_BusyStatus

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The BusyStatus property gets or sets a user's availability during a designated appointment time.

To get the value of the BusyStatus property, call the property method described here.

To set the value of the BusyStatus property, see the IAppointment::put_BusyStatus property method.

Syntax

HRESULT get_BusyStatus(
  long * pnState
);

Parameters

  • pnState
    [out] Reference to one of the OlBusyStatus enumeration values.

Return Value

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Remarks

The default for a new appointment is the OlBusyStatus enumeration value olBusy.

Requirements

Header pimstore.h
Library Pimstore.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Pocket Outlook Object Model Interfaces

Other Resources

Pocket Outlook Object Model Enumerations