Jaa


CrmOnlineDiscoveryServers.GetServerByShortName Method (String, Boolean)

 

Applies To: Dynamics CRM 2015

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:
CrmOnlineDiscoveryServer^ GetServerByShortName(
    String^ shortName,
    bool isO365 = false
)
member GetServerByShortName : 
        shortName:string *
        isO365:bool = false -> CrmOnlineDiscoveryServer
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

© 2016 Microsoft. All rights reserved. Copyright