Jaa


CrmConfigurationManager.CreateCacheItemPolicy Method (String, Boolean)

 

Applies To: Dynamics CRM 2015

Gets the configured CacheItemPolicy. (Developer Extensions)

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

Syntax

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

Parameters

Return Value

Type: System.Runtime.Caching.CacheItemPolicy

Type: CacheItemPolicy
The configured policy.

See Also

CrmConfigurationManager Class
Microsoft.Xrm.Client.Configuration Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright