Upravit

Sdílet prostřednictvím


_ExchangeUser.GetDirectReports Method

Definition

Obtains an AddressEntries collection object that contains all the users directly reporting to the Exchange user.

public:
 Microsoft::Office::Interop::Outlook::AddressEntries ^ GetDirectReports();
public Microsoft.Office.Interop.Outlook.AddressEntries GetDirectReports ();
Public Function GetDirectReports () As AddressEntries

Returns

An AddressEntries collection object that contains the users directly reporting to the Exchange user. The AddressEntries object will have a count of zero (0) if there is no direct report represented by an AddressEntry in the current session, or if direct reports have not been implemented in the Exchange directory.

Remarks

GetDirectReports is an expensive operation in terms of performance if there is a slow connection to the Exchange server.

Applies to