Share via


_ExchangeDistributionList.GetOwners Method

Returns an AddressEntries collection object that contains all the owners of the ExchangeDistributionList.

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

Syntax

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

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

Return Value

Type: Microsoft.Office.Interop.Outlook.AddressEntries
An AddressEntries collection object that contains AddressEntry objects representing all the owners of the ExchangeDistributionList. Returns an AddressEntries object with a count of zero (0) if no owners can be found for the ExchangeDistributionList in the current session.

Remarks

GetOwners 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