Share via


CrmOnlineDiscoveryServers.GetServerByShortName(String, Boolean) Method

Definition

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

public Microsoft.Xrm.Tooling.Connector.Model.CrmOnlineDiscoveryServer GetServerByShortName (string shortName, bool isO365 = false);
member this.GetServerByShortName : string * bool -> Microsoft.Xrm.Tooling.Connector.Model.CrmOnlineDiscoveryServer
Public Function GetServerByShortName (shortName As String, Optional isO365 As Boolean = false) As CrmOnlineDiscoveryServer

Parameters

shortName
String

Short Name of the server you are looking for

isO365
Boolean

if set, uses the office 365 server list.

Returns

CrmOnlineDiscoveryServer Data or Null

Applies to