CrmConfigurationManager.CreateServiceCache Method (String, CrmConnection, Boolean)

 

Applies To: Dynamics CRM 2015

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

Return Value

Type: Microsoft.Xrm.Client.Services.IOrganizationServiceCache

Type: IOrganizationServiceCache.

See Also

CreateServiceCache Overload
CrmConfigurationManager Class
Microsoft.Xrm.Client.Configuration Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright