Share via


GetFreeBusy Method

GetFreeBusy Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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

[Visual Basic]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

[C++]HRESULT GetFreeBusy (     DATE StartTime,     DATE EndTime,     long Interval,     BSTR HTTPHost,     BSTR Vroot,     BSTR UserName,     BSTR Password,     BSTRpbstrRet );

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.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.