CrmConfigurationManager.CreateServiceCache Method (String, CrmConnection, Boolean)
Applies To: Dynamics CRM 2013
Retrieves the configured IOrganizationServiceCache instance.
Namespace: Microsoft.Xrm.Client.Configuration
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static IOrganizationServiceCache CreateServiceCache(
string serviceCacheName,
CrmConnection connection,
bool allowDefaultFallback = false
)
public:
static IOrganizationServiceCache^ CreateServiceCache(
String^ serviceCacheName,
CrmConnection^ connection,
bool allowDefaultFallback = false
)
static member CreateServiceCache :
serviceCacheName:string *
connection:CrmConnection *
allowDefaultFallback:bool = false -> IOrganizationServiceCache
Public Shared Function CreateServiceCache (
serviceCacheName As String,
connection As CrmConnection,
allowDefaultFallback As Boolean
) As IOrganizationServiceCache
Parameters
serviceCacheName
Type: System.StringType: String.
- connection
Type: Microsoft.Xrm.Client.CrmConnection
allowDefaultFallback
Type: System.BooleanType: Boolean. Whether to allow fallback to the default.
Return Value
Type: Microsoft.Xrm.Client.Services.IOrganizationServiceCache
Type: IOrganizationServiceCache.
See Also
CreateServiceCache Overload
CrmConfigurationManager Class
Microsoft.Xrm.Client.Configuration Namespace
Return to top