CrmServiceClient.ResetLocalMetadataCache Method (String)


Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

This will clear the Metadata cache for either all entities or the specified entity

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)


public void ResetLocalMetadataCache(
    string entityName = ""
Public Sub ResetLocalMetadataCache (
    entityName As String


  • entityName
    Type: System.String

    Optional: name of the entity to clear cached info for

See Also

CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright