Utilities.GetOrgnameAndOnlineRegionFromServiceUri Method

Definition

Get the organization name and on-line region from the Uri

public:
 static void GetOrgnameAndOnlineRegionFromServiceUri(Uri ^ serviceUri, [Runtime::InteropServices::Out] System::String ^ % onlineRegion, [Runtime::InteropServices::Out] System::String ^ % organizationName, [Runtime::InteropServices::Out] bool % isOnPrem);
public static void GetOrgnameAndOnlineRegionFromServiceUri (Uri serviceUri, out string onlineRegion, out string organizationName, out bool isOnPrem);
static member GetOrgnameAndOnlineRegionFromServiceUri : Uri * string * string * bool -> unit
Public Shared Sub GetOrgnameAndOnlineRegionFromServiceUri (serviceUri As Uri, ByRef onlineRegion As String, ByRef organizationName As String, ByRef isOnPrem As Boolean)

Parameters

serviceUri
Uri

Service Uri to parse

onlineRegion
String

Name of the CRM on line Region serving this request

organizationName
String

Name of the Organization extracted from the Service URI

isOnPrem
Boolean

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

Applies to