CrmConnectionManager Methods

 

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

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

Methods

Name Description
System_CAPS_pubmethod CancelConnectToServerCheck()

Cancel Connection process.

System_CAPS_pubmethod ConnectToServerCheck()

Begins the authentication process for CRM.

System_CAPS_pubmethod ConnectToServerCheck(CrmOrgByServer)

Begin Connect check to server

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

Clean up background worker on exit.(Overrides Object.Finalize().)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod LoadConfigFromFile(Boolean)

Loads the Configuration key's from file b/c some things are missing

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod RemoveUserLocalDirectoryConfigFile()

Will remove the user connection data settings from the users app config directory, useable only when the UseUserLocalDirectoryForConfigStore is set to true. this should be called after the connection has been established, or before the connect attempt in order to be effective.

System_CAPS_pubmethod RequireUserLogin()

This will check the configuration to determine if a user login is required. and if so, return true.

System_CAPS_pubmethod SaveConfigToFile(Dictionary<Dynamics_ConfigFileServerKeys, Object>)

Save the configuration Keys to the configuration file.

System_CAPS_pubmethod SetConfigKeyInformation(Dictionary<Dynamics_ConfigFileServerKeys, Object>)

Sets the current connection information for the server.

this can be used to pass in a preconfigured list of keys

System_CAPS_pubmethod ToString()

(Inherited from Object.)

See Also

CrmConnectionManager Class
Microsoft.Xrm.Tooling.CrmConnectControl Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright