ExchangeDistributionList.DisplayType (Outlook)

Returns olDistList which is a constant from the OlDisplayType enumeration representing the nature of the ExchangeDistributionList. Possible return values are olAgent - Agent address, olDistList - Exchange distribution list, olForum - Forum address, olOrganization - Organization address, olPrivateDistList - Outlook private distribution list, olRemoteUser - Remote user address, olUser - User address.

This property corresponds to the MAPI property PidTagDisplayType. The ExchangeDistributionList object is derived from the AddressEntry object. It inherits the DisplayType property from the AddressEntry object. In the case of ExchangeDistributionList, DisplayType should always return olDistList.


Dim odtDisplayType As OlDisplayType
odtDisplayType = Session.GetAddressEntryFromID.GetExchangeDistributionList.DisplayType