Dela via


Utility.EnsureQualifiedRootUrl Method (String)

 

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

This takes a relative URI and prepends the CRM URL to create a fully qualified URL without the ORG name if it appears after the hostname.

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

Syntax

public static string EnsureQualifiedRootUrl(
    string crmurl
)
Public Shared Function EnsureQualifiedRootUrl (
    crmurl As String
) As String

Parameters

  • crmurl
    Type: System.String

    Specifies the absolute or relative CRM URL

Return Value

Type: System.String

An absolute URL without the ORG name

See Also

Utility Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright