_ExchangeUser.GetMemberOfList Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an AddressEntries collection object that contains the AddressEntry objects representing all the Exchange distribution lists to which the user belongs.
public:
Microsoft::Office::Interop::Outlook::AddressEntries ^ GetMemberOfList();
public Microsoft.Office.Interop.Outlook.AddressEntries GetMemberOfList ();
Public Function GetMemberOfList () As AddressEntries
Returns
An AddressEntries collection object that represents the Exchange distribution lists to which the ExchangeUser belongs. Returns an AddressEntries collection object with a count of zero (0) if the ExchangeUser 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.