ClearCache Element (XMLA)

Clears the memory cache for the specified object on a Analysis Services instance.

Syntax

  
<Command>  
   <ClearCache>  
      <Object>...</Object>  
   </ClearCache>  
</Command>  

Element characteristics

Characteristic Description
Data type and length None
Default value None
Cardinality 0-n: Optional element that can occur more than once.

Element relationships

Relationship Element
Parent elements Command
Child elements Object

Remarks

The ClearCache command flushes the cache for a specified database, dimension, cube, measure group, or partition on an Analysis Services instance. If an object other than a database, dimension, cube, measure group, or partition is specified in the Object element, an error occurs.