CrmOnlineDiscoveryServers.GetServerShortNameByDisplayName Method (String, Boolean)

 

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

Finds the server short name by server Uri

Namespace:   Microsoft.Xrm.Tooling.CrmConnectControl.Model
Assembly:  Microsoft.Xrm.Tooling.CrmConnectControl (in Microsoft.Xrm.Tooling.CrmConnectControl.dll)

Syntax

public string GetServerShortNameByDisplayName(
    string serverDisplayName,
    bool isO365 = false
)
Public Function GetServerShortNameByDisplayName (
    serverDisplayName As String,
    isO365 As Boolean
) As String

Parameters

  • serverDisplayName
    Type: System.String

    Name of the Server to find

  • isO365
    Type: System.Boolean

    if set, uses the office 365 server list.

Return Value

Type: System.String

See Also

CrmOnlineDiscoveryServers Class
Microsoft.Xrm.Tooling.CrmConnectControl.Model Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright