Utilities.DeterminDiscoveryDataFromOrgDetail(Uri, Boolean, String) 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.
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)