Export (0) Print
Expand All

AutodiscoverService.TryGetPartnerAccess method

EWS Managed API

Attempts to retrieve the partner access information for the specified tenant.

Namespace:  Microsoft.Exchange.WebServices.Autodiscover
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public bool TryGetPartnerAccess(
	string targetTenantDomain,
	out ExchangeCredentials partnerAccessCredentials,
	out Uri targetTenantAutodiscoverUrl
)

Parameters

targetTenantDomain
Type: System.String

The target domain or user email address.

partnerAccessCredentials
Type: Microsoft.Exchange.WebServices.Data.ExchangeCredentials

The partner access credentials.

targetTenantAutodiscoverUrl
Type: System.Uri

The Autodiscover URL for the specified tenant.

Return value

Type: System.Boolean
true if the partner access information was retrieved; otherwise, false.
Show:
© 2014 Microsoft