CrmOnlineDiscoveryServers.GetServerShortNameByDisplayName Method (String, Boolean)
Applies To: Dynamics CRM 2015
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:
String^ GetServerShortNameByDisplayName(
String^ serverDisplayName,
bool isO365 = false
)
member GetServerShortNameByDisplayName :
serverDisplayName:string *
isO365:bool = false -> string
Public Function GetServerShortNameByDisplayName (
serverDisplayName As String,
isO365 As Boolean
) As String
Parameters
serverDisplayName
Type: System.StringName of the Server to find
isO365
Type: System.Booleanif 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
© 2016 Microsoft. All rights reserved. Copyright