命名空间 GetGlobalAddressList 方法 (Outlook)NameSpace.GetGlobalAddressList method (Outlook)

返回一个**AddressList** 对象, 该对象代表 Exchange 全局地址列表。Returns an AddressList object that represents the Exchange Global Address List.

语法Syntax

expressionexpression. GetGlobalAddressList

_表达式_一个代表NameSpace对象的变量。expression A variable that represents a NameSpace object.

返回值Return value

一个代表全局地址列表的AddressListAn AddressList that represents the Global Address List.

说明Remarks

GetGlobalAddressList 支持只有 Exchange 服务器。GetGlobalAddressList supports only Exchange servers. 如果全局地址列表不可用或无法找到,则返回错误。It returns an error if the Global Address List is not available or cannot be found.

如果没有可用连接或者用户设置为脱机工作,它也会返回错误。It also returns an error if no connection is available or the user is set to work offline.

另请参阅See also

命名空间对象NameSpace Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.