AddressEntry.GetExchangeDistributionList AddressEntry.GetExchangeDistributionList AddressEntry.GetExchangeDistributionList Method

Definition

Returns an ExchangeDistributionList 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 distribution list.

public:
 Microsoft::Office::Interop::Outlook::ExchangeDistributionList ^ GetExchangeDistributionList();
public Microsoft.Office.Interop.Outlook.ExchangeDistributionList GetExchangeDistributionList ();
Public Function GetExchangeDistributionList () As ExchangeDistributionList

Returns

An ExchangeDistributionList 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 distribution list.

Remarks

You have to be connected to the Exchange server to use this method.

Applies to