AddressEntry.GetExchangeUser Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
Microsoft::Office::Interop::Outlook::ExchangeUser ^ GetExchangeUser();
public Microsoft.Office.Interop.Outlook.ExchangeUser GetExchangeUser ();
Public Function GetExchangeUser () As ExchangeUser
Returns
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.