Share via


Utilities.DeterminDiscoveryDataFromOrgDetail(Uri, Boolean, String) Method

Definition

Parses an OrgURI to determine what the supporting discovery server is.

public static Microsoft.Xrm.Tooling.Connector.Model.CrmOnlineDiscoveryServer DeterminDiscoveryDataFromOrgDetail (Uri serviceUri, out bool isOnPrem, string Geo = default);
static member DeterminDiscoveryDataFromOrgDetail : Uri * bool * string -> Microsoft.Xrm.Tooling.Connector.Model.CrmOnlineDiscoveryServer
Public Shared Function DeterminDiscoveryDataFromOrgDetail (serviceUri As Uri, ByRef isOnPrem As Boolean, Optional Geo As String = Nothing) As CrmOnlineDiscoveryServer

Parameters

serviceUri
Uri

Service Uri to parse

isOnPrem
Boolean

if OnPrem, will be set to true, otherwise, false.

Geo
String

Geo Code for region (Optional)

Returns

Applies to