This documentation is archived and is not being maintained.

_NameSpace.GetGlobalAddressList Method

Returns an AddressList object that represents the Exchange Global Address List.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

AddressList GetGlobalAddressList()

Return Value

Type: Microsoft.Office.Interop.Outlook.AddressList
An AddressList that represents the Global Address List.

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.