ExpandDLType class
Collapse the table of content
Expand the table of content

ExpandDLType class

The ExpandDLType class represents a request to expand a distribution list.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

<SerializableAttribute> _
Public Class ExpandDLType _
	Inherits BaseRequestType
Dim instance As ExpandDLType

Both private and public distribution lists can be expanded.


An error will occur if the EmailAddress that is specified in the request does not correspond to a distribution list, or if the ItemId that is specified in the request corresponds to a non-private distribution list.

The following code example shows you how a distribution list expansion request is created.

// Create an ExpandDLType.
ExpandDLType expandDl = new ExpandDLType();

// Set the e-mail address and routing type of the distribution list.
expandDl.Mailbox = new EmailAddressType();
expandDl.Mailbox.EmailAddress = "myDL@myDomain.com";

// Expand the distribution list.
ExpandDLResponseType expandDlResponse = esb.ExpandDL(expandDl);

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2016 Microsoft