Jaa


CrmConfigurationManager.CreateObjectCache Method (String, Boolean)

 

Applies To: Dynamics CRM 2015

Retrieves the configured ObjectCache instance.

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

Syntax

public static ObjectCache CreateObjectCache(
    string objectCacheName = null,
    bool allowDefaultFallback = false
)
public:
static ObjectCache^ CreateObjectCache(
    String^ objectCacheName = null,
    bool allowDefaultFallback = false
)
static member CreateObjectCache : 
        objectCacheName:string = null *
        allowDefaultFallback:bool = false -> ObjectCache
Public Shared Function CreateObjectCache (
    objectCacheName As String,
    allowDefaultFallback As Boolean
) As ObjectCache

Parameters

Return Value

Type: System.Runtime.Caching.ObjectCache

Type ObjectCache
The configured cache instance.

See Also

CrmConfigurationManager Class
Microsoft.Xrm.Client.Configuration Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright