Class ExchangeDistributionList (Outlook VBA)

The ExchangeDistributionList object provides detailed information about an AddressEntry that represents an Exchange distribution list.

The classes AddressEntry and ExchangeUser. give access to class ExchangeDistributionList


Dim edl as ExchangeDistributionList
Set edl = Session.GetAddressEntryFromID.GetExchangeDistributionList()

Methods

Delete - Deletes the ExchangeDistributionList object from the AddressEntries collection object to which it belongs.

Details - Displays a modal dialog box that provides detailed information about an ExchangeDistributionList object.

GetContact - Returns Null (Nothing in Visual Basic) because the ExchangeDistributionList object does not correspond to a contact in a Contacts Address Book.

GetExchangeDistributionList - Returns the ExchangeDistributionList object.

GetExchangeDistributionListMembers - Returns an AddressEntries collection that represents the members of the Exchange distribution list.

GetExchangeUser - Returns Null (Nothing in Visual Basic) because the ExchangeDistributionList object does not correspond to an ExchangeUser object.

GetFreeBusy - Returns Null (Nothing in Visual Basic) because free-busy information is available only to individual users and not ExchangeDistributionList objects.

GetMemberOfList - Returns an AddressEntries collection object that contains all the AddressEntry objects representing Exchange Distribution Lists of which the ExchangeDistributionList is a member.

GetOwners - Returns an AddressEntries collection object that contains all the owners of the ExchangeDistributionList.

GetUnifiedGroup - Determines if the object is a unified group, by way of a call to IsUnifiedGroup.

GetUnifiedGroupFromStore - Determines if the object is a unified group (by way of a call to IsUnifiedGroup) and returns the Outlook.Folder object associated with the group using the GetUnifiedGroup and GetUnifiedGroupFromStore methods.

IsUnifiedGroup - Determines if the object is a unified group.

Update - Posts a change to the ExchangeDistributionList object in the messaging system.

Properties

Address returns or sets a String representing the X400 email address of the ExchangeDistributionList.

AddressEntryUserType returns olExchangeDistributionListAddressEntry which is a constant from the OlAddressEntryUserType enumeration representing the user type of the ExchangeDistributionList.

Alias returns a String representing the alias for the ExchangeDistributionList.

Class returns a constant in the OlObjectClass enumeration indicating the class of the ExchangeDistributionList object.

Comments returns a String representing the comments for the ExchangeDistributionList.

DisplayType returns olDistList which is a constant from the OlDisplayType enumeration representing the nature of the ExchangeDistributionList.

ID returns a String representing the unique identifier for the ExchangeDistributionList.

Name returns or sets a String value that represents the display name for the ExchangeDistributionList object.

PrimarySmtpAddress returns a String representing the primary Simple Mail Transfer Protocol (SMTP) address for the ExchangeDistributionList.

PropertyAccessor returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent ExchangeDistributionList object.

Session returns the NameSpace object for the current session.

Type returns a String representing the type of entry for the ExchangeDistributionList.

AddressEntries - Contains a collection of addresses for an AddressList object.

ContactItem - Represents a contact in a Contacts folder.

ExchangeUser - Provides detailed information about an AddressEntry that represents a Microsoft Exchange mailbox user.

Folder - Represents an Outlook folder.

NameSpace - Represents an abstract root object for any data source.

PropertyAccessor - Provides the ability to create, get, set, and delete properties on objects.