Utility.GetRootCrmUiUrl Method ()

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Retrieves the root CRM URL. All URLs in the CRM site will start with this URL.

Namespace:   Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly:  Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Syntax

public static string GetRootCrmUiUrl()
Public Shared Function GetRootCrmUiUrl As String

Return Value

Type: System.String

CRM base URL

Remarks

This URL may not have the Org name if it appears after the hostname.

See Also

Utility Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright