Muokkaa

Jaa


AddressEntry.GetFreeBusy method (Outlook)

Returns a String value that represents the availability of the individual user for a period of 30 days from the start date, beginning at midnight of the date specified.

Syntax

expression. GetFreeBusy( _Start_ , _MinPerChar_ , _CompleteFormat_ )

expression An expression that returns an AddressEntry object.

Parameters

Name Required/Optional Data type Description
Start Required Date Specifies the date.
MinPerChar Required Long Specifies the length of each time slot in minutes. The default value is 30.
CompleteFormat Optional Variant Specifies a Boolean value that represents the level of information returned for each time slot. The default value is False.

Return value

A String value that represents the availability of the user for the specified period. The string value contains one character for each time slot within the specified period.

Remarks

Note

If an address entry represents a distribution list, the status of its individual members cannot be returned to you with the GetFreeBusy method. A meeting request should be sent only to single messaging users. You can determine if a messaging user is a distribution list by determining if its DisplayType property is olDistList or olPrivateDistList.

The contents of the string returned by this method are determined by the CompleteFormat parameter.

If CompleteFormat is set to False, the default value, the string returned by this method contains one of the following characters for each time slot:

Character Description
0 The time slot represents a free period.
1 The time slot represents a tentative, out of office (OOF), or busy period.

If CompleteFormat is set to True, the string returned by this method contains one of the following characters for each time slot:

Character Description
0 The time slot represents a free period.
1 The time slot represents a tentative period.
2 The time slot represents a busy period.
3 The time slot represents an out of office (OOF) period.

See also

AddressEntry Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.