AutodiscoverService.TryGetPartnerAccess 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.
Attempts to retrieve the partner access information for the specified tenant.
public:
bool TryGetPartnerAccess(System::String ^ targetTenantDomain, [Runtime::InteropServices::Out] Microsoft::Exchange::WebServices::Data::ExchangeCredentials ^ % partnerAccessCredentials, [Runtime::InteropServices::Out] Uri ^ % targetTenantAutodiscoverUrl);
public bool TryGetPartnerAccess (string targetTenantDomain, out Microsoft.Exchange.WebServices.Data.ExchangeCredentials partnerAccessCredentials, out Uri targetTenantAutodiscoverUrl);
Public Function TryGetPartnerAccess (targetTenantDomain As String, ByRef partnerAccessCredentials As ExchangeCredentials, ByRef targetTenantAutodiscoverUrl As Uri) As Boolean
Parameters
- targetTenantDomain
- String
The target domain or user email address.
- partnerAccessCredentials
- ExchangeCredentials
The partner access credentials.
- targetTenantAutodiscoverUrl
- Uri
The Autodiscover URL for the specified tenant.
Returns
true if the partner access information was retrieved; otherwise, false.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for