Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ExpandDLType Class

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

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)
'Declaration
<SerializableAttribute> _
Public Class ExpandDLType _
	Inherits BaseRequestType
'Usage
Dim instance As ExpandDLType

Both private and public distribution lists can be expanded.

NoteNote

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.