AddressEntry.GetExchangeUser Method
Returns an ExchangeUser object that represents the AddressEntry if the AddressEntry belongs to an Exchange AddressList object such as the Global Address List (GAL) and corresponds to an Exchange user.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
Function GetExchangeUser As ExchangeUser
'Usage
Dim instance As AddressEntry
Dim returnValue As ExchangeUser
returnValue = instance.GetExchangeUser()
ExchangeUser GetExchangeUser()
Return Value
Type: Microsoft.Office.Interop.Outlook.ExchangeUser
An ExchangeUser object that represents the AddressEntry. Returns Nothing (a null reference (Nothing in Visual Basic) in C#) if the AddressEntry object does not correspond to an Exchange user.
Remarks
You have to be connected to the Exchange server to use this method.