編輯

共用方式為


_ExchangeDistributionList Interface

Definition

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see ExchangeDistributionList.

public interface class _ExchangeDistributionList
[System.Runtime.InteropServices.Guid("000630CA-0000-0000-C000-000000000046")]
public interface _ExchangeDistributionList
Public Interface _ExchangeDistributionList
Derived
Attributes

Properties

Address

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

AddressEntryUserType

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

Alias

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

Application

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

Class

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

Comments

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

DisplayType

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

ID

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

Manager

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

MAPIOBJECT

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

Members

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

Name

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

Parent

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

PrimarySmtpAddress

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

PropertyAccessor

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

Session

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

Type

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

Methods

Delete()

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

Details(Object)

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

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.

GetExchangeDistributionList()

Returns the ExchangeDistributionList object.

GetExchangeDistributionListMembers()

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

GetExchangeUser()

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

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.

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.

Update(Object, Object)

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

UpdateFreeBusy()

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

Applies to