Upravit

Sdílet prostřednictvím


ExchangeDistributionList Interface

Definition

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

public interface class ExchangeDistributionList : Microsoft::Office::Interop::Outlook::_ExchangeDistributionList
[System.Runtime.InteropServices.Guid("000630CA-0000-0000-C000-000000000046")]
public interface ExchangeDistributionList : Microsoft.Office.Interop.Outlook._ExchangeDistributionList
Public Interface ExchangeDistributionList
Implements _ExchangeDistributionList
Derived
Attributes
Implements

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _ExchangeDistributionList.

ExchangeDistributionList is a derived class of AddressEntry, and is returned instead of an AddressEntry when the caller performs a QueryInterface on the AddressEntry.

The AddressEntry.Members property supports enumerating members of a distribution list. ExchangeDistributionList adds the first-class properties for Alias, Comments, and PrimarySmtpAddress. You can also access other properties specific to the Exchange distribution list that are not exposed in the object model through the PropertyAccessor object.

Some properties such as Comments are read-write properties. Setting these properties requires the code to be running under an appropriate Exchange administrator account; without sufficient permissions, calling the Update(Object, Object) method will result in a "permission denied" error.

Properties

Address

Returns or sets a String (string in C#) representing the X400 e-mail address of the ExchangeDistributionList. Read/write.

(Inherited from _ExchangeDistributionList)
AddressEntryUserType

Returns olExchangeDistributionListAddressEntry which is a constant from the OlAddressEntryUserType enumeration representing the user type of the ExchangeDistributionList. Read-only.

(Inherited from _ExchangeDistributionList)
Alias

Returns a String (string in C#) representing the alias for the ExchangeDistributionList. Read-only.

(Inherited from _ExchangeDistributionList)
Application

Returns an Application object that represents the parent application (Outlook) for the ExchangeDistributionList object. Read-only.

(Inherited from _ExchangeDistributionList)
Class

Returns a constant in the OlObjectClass enumeration indicating the class of the ExchangeDistributionList object. Read-only.

(Inherited from _ExchangeDistributionList)
Comments

Returns a String (string in C#) representing the comments for the ExchangeDistributionList. Read/write.

(Inherited from _ExchangeDistributionList)
DisplayType

Returns olDistList which is a constant from the OlDisplayType enumeration representing the nature of the ExchangeDistributionList. Read-only.

(Inherited from _ExchangeDistributionList)
ID

Returns a String (string in C#) representing the unique identifier for the ExchangeDistributionList. Read-only.

(Inherited from _ExchangeDistributionList)
Manager

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _ExchangeDistributionList)
MAPIOBJECT

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _ExchangeDistributionList)
Members

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _ExchangeDistributionList)
Name

Returns or sets a String (string in C#) value that represents the display name for the ExchangeDistributionList object. Read/write.

(Inherited from _ExchangeDistributionList)
Parent

Returns the parent Object of the ExchangeDistributionList object. Read-only.

(Inherited from _ExchangeDistributionList)
PrimarySmtpAddress

Returns a String (string in C#) representing the primary Simple Mail Transfer Protocol (SMTP) address for the ExchangeDistributionList. Read-only.

(Inherited from _ExchangeDistributionList)
PropertyAccessor

Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent ExchangeDistributionList object. Read-only.

(Inherited from _ExchangeDistributionList)
Session

Returns the NameSpace object for the current session. Read-only.

(Inherited from _ExchangeDistributionList)
Type

Returns a String (string in C#) representing the type of entry for the ExchangeDistributionList. Read/write.

(Inherited from _ExchangeDistributionList)

Methods

Delete()

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

(Inherited from _ExchangeDistributionList)
Details(Object)

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

(Inherited from _ExchangeDistributionList)
GetContact()

Returns Nothing (a null reference (Nothing in Visual Basic) in C#) because the ExchangeDistributionList object does not correspond to a contact in a Contacts Address Book.

(Inherited from _ExchangeDistributionList)
GetExchangeDistributionList()

Returns the ExchangeDistributionList object.

(Inherited from _ExchangeDistributionList)
GetExchangeDistributionListMembers()

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

(Inherited from _ExchangeDistributionList)
GetExchangeUser()

Returns Nothing (a null reference (Nothing in Visual Basic) in C#) because the ExchangeDistributionList object does not correspond to an ExchangeUser object.

(Inherited from _ExchangeDistributionList)
GetFreeBusy(DateTime, Int32, Object)

Returns Nothing (a null reference (Nothing in Visual Basic) in C#) because free-busy information is available only to individual users and not ExchangeDistributionList objects.

(Inherited from _ExchangeDistributionList)
GetMemberOfList()

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

(Inherited from _ExchangeDistributionList)
GetOwners()

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

(Inherited from _ExchangeDistributionList)
Update(Object, Object)

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

(Inherited from _ExchangeDistributionList)
UpdateFreeBusy()

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _ExchangeDistributionList)

Applies to