_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)
Syntax
'Declaration
<DispIdAttribute()> _
Function GetGlobalAddressList As AddressList
'Usage
Dim instance As _NameSpace
Dim returnValue As AddressList
returnValue = instance.GetGlobalAddressList()
[DispIdAttribute()]
AddressList GetGlobalAddressList()
Return Value
Type: Microsoft.Office.Interop.Outlook.AddressList
An AddressList that represents the Global Address List.
Remarks
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
Reference
Microsoft.Office.Interop.Outlook Namespace