Utility.EnsureQualifiedRootUrl Method
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)
Usage
'Usage
Dim crmurl As String
Dim returnValue As String
returnValue = Utility.EnsureQualifiedRootUrl(crmurl)
Syntax
'Declaration
Public Shared Function EnsureQualifiedRootUrl ( _
crmurl As String _
) As String
public static string EnsureQualifiedRootUrl (
string crmurl
)
public:
static String^ EnsureQualifiedRootUrl (
String^ crmurl
)
public static String EnsureQualifiedRootUrl (
String crmurl
)
public static function EnsureQualifiedRootUrl (
crmurl : String
) : String
Parameters
- crmurl
Specifies the absolute or relative CRM URL
Return Value
An absolute URL without the ORG name
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
Utility Class
Utility Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.