Compartir a través de


CrmConfigurationManager Class

 

Applies To: Dynamics CRM 2015

Configuration mangager for Microsoft Dynamics CRM Developer Extensions. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Configuration
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Client.Configuration.CrmConfigurationManager

Syntax

public static class CrmConfigurationManager
public ref class CrmConfigurationManager abstract sealed 
[<AbstractClass>]
[<Sealed>]
type CrmConfigurationManager = class end
Public NotInheritable Class CrmConfigurationManager

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateCacheItemPolicy(String, Boolean)

Gets the configured CacheItemPolicy. (Developer Extensions)

System_CAPS_pubmethodSystem_CAPS_static CreateConnectionDictionary(ConnectionStringSettings)

Creates and caches connection strings by name.

System_CAPS_pubmethodSystem_CAPS_static CreateConnectionStringSettings(String)

Creates and caches connection strings by name.

System_CAPS_pubmethodSystem_CAPS_static CreateContext(String, Boolean)

Retrieves the configured OrganizationServiceContext instance.

System_CAPS_pubmethodSystem_CAPS_static CreateObjectCache(String, Boolean)

Retrieves the configured ObjectCache instance.

System_CAPS_pubmethodSystem_CAPS_static CreateService(CrmConnection, String, Boolean)

Retrieves the configured IOrganizationService instance.

System_CAPS_pubmethodSystem_CAPS_static CreateService(String, Boolean)

Retrieves the configured IOrganizationService instance.

System_CAPS_pubmethodSystem_CAPS_static CreateServiceCache(String, CrmConnection, Boolean)

Retrieves the configured IOrganizationServiceCache instance.

System_CAPS_pubmethodSystem_CAPS_static CreateServiceCache(String, String, Boolean)

Retrieves the configured IOrganizationServiceCache instance.

System_CAPS_pubmethodSystem_CAPS_static GetConnectionStringNameFromContext(String, Boolean)

Retrieves the connection string name from the context name.

System_CAPS_pubmethodSystem_CAPS_static GetCrmSection()

Retrieves the configuration section.

System_CAPS_pubmethodSystem_CAPS_static GetObjectCaches(String)

Retrieves the cached ObjectCache objects.

System_CAPS_pubmethodSystem_CAPS_static Reset()

Resets the cached dependencies.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Client.Configuration Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright