CrmConfigurationManager.CreateCacheItemPolicy Method (String, Boolean)
Applies To: Dynamics CRM 2013
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
objectCacheName
Type: System.StringType: String. The cache name.
allowDefaultFallback
Type: System.BooleanType: Boolean. Whether to allow fallback to the default.
Return Value
Type: System.Runtime.Caching.CacheItemPolicy
Type: CacheItemPolicy
The configured policy.
See Also
CrmConfigurationManager Class
Microsoft.Xrm.Client.Configuration Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top