Gets the cache description information for a given map. Includes cache control info, tile cache info, tile image info, and cache type info.
GetCacheDescriptionInfo(string MapName)
Parameter |
Description |
MapName |
The map name (data frame) on which to return cache control information.
|
Return Value
A CacheDescriptionInfo
object. If the map service is not cached, all properties
will be null.
Remarks
The CacheDescriptionInfo object includes a reference to the CacheControlInfo, TileCacheInfo, and TileImageInfo for a data frame in a map service. Information returned from this single method matches information returned from the GetCacheControlInfo(), GetTileCacheInfo(), and GetTileImageInfo() methods. In addition, a cache type enumeration indicates if the map service has a fused or layer cache. This matches information returned from the HasLayerCache() or HasSingleFusedMapCache() methods.
Examples