GetFreeBusy Method

Topic Last Modified: 2006-06-13

Gets the free/busy information for a resolved addressee.

Applies To

IAddressee Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Function GetFreeBusy(    StartTime As Date,
        EndTime As Date,
        Interval As Long,
    [HTTPHost As String],
    [Vroot As String],
    [UserName As String],
    [Password As String]) As String
HRESULT GetFreeBusy
(
        DATE StartTime,
        DATE EndTime,
        long Interval,
        BSTR HTTPHost,
        BSTR Vroot,
        BSTR UserName,
        BSTR Password,
        BSTR* pbstrRet
);

Parameters

  • StartTime
    The starting time of the range to determine free/busy status.
  • EndTime
    The ending time of the range to determine free/busy status.
  • Interval
    The interval, in minutes, of the free/busy time to download. Must be greater than or equal to one minute.
  • HTTPHost
    Reserved for future use.
  • Vroot
    Reserved for future use.
  • UserName
    Reserved for future use.
  • Password
    Reserved for future use.
  • pbstrRet
    On successful return, a BSTR containing the free/busy results for the period and interval specified.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The GetFreeBusy method returns the status for the free/busy time slots between the StartTime and EndTime parameters.