CrmOnlineDiscoveryServers.GetServerByShortName(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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