_ExchangeDistributionList.GetMemberOfList Method

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Function GetMemberOfList As AddressEntries
'Usage
Dim instance As _ExchangeDistributionList
Dim returnValue As AddressEntries

returnValue = instance.GetMemberOfList()
[DispIdAttribute()]
AddressEntries GetMemberOfList()

Return Value

Type: Microsoft.Office.Interop.Outlook.AddressEntries
An AddressEntries collection object that represents the distribution lists of which this ExchangeDistributionList object is a member. Returns an AddressEntries object with a count of zero (0) if the ExchangeDistributionList is not a member of any Exchange distribution list.

Remarks

GetMemberOfList is an expensive operation in terms of performance if there is a slow connection to Exchange Server.

See Also

Reference

_ExchangeDistributionList Interface

_ExchangeDistributionList Members

Microsoft.Office.Interop.Outlook Namespace