CrmConfigurationManager.CreateServiceCache Method (String, String, 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 = null,
string connectionId = null,
bool allowDefaultFallback = false
)
public:
static IOrganizationServiceCache^ CreateServiceCache(
String^ serviceCacheName = null,
String^ connectionId = null,
bool allowDefaultFallback = false
)
static member CreateServiceCache :
serviceCacheName:string = null *
connectionId:string = null *
allowDefaultFallback:bool = false -> IOrganizationServiceCache
Public Shared Function CreateServiceCache (
serviceCacheName As String,
connectionId As String,
allowDefaultFallback As Boolean
) As IOrganizationServiceCache
Parameters
serviceCacheName
Type: System.StringType: String.
- connectionId
Type: System.String
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