CrmOnlineDiscoveryServers.GetServerByShortName Method (String, Boolean)

 

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

Finds a Server by Name in the List or return null.

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

Syntax

public CrmOnlineDiscoveryServer GetServerByShortName(
    string shortName,
    bool isO365 = false
)
Public Function GetServerByShortName (
    shortName As String,
    isO365 As Boolean
) As CrmOnlineDiscoveryServer

Parameters

  • shortName
    Type: System.String

    Short Name of the server you are looking for

  • isO365
    Type: System.Boolean

    if set, uses the office 365 server list.

Return Value

Type: Microsoft.Xrm.Tooling.CrmConnectControl.Model.CrmOnlineDiscoveryServer

CrmOnlineDiscoveryServer Data or Null

See Also

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright