This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IT > ITiledMapServer Interface > ITiledMapServer.GetVirtualCacheDirectory Method (ArcObjects .NET 10.5 SDK) |
Gets the virtual cache directory for a given layer within a map.
[Visual Basic .NET] Public Function GetVirtualCacheDirectory ( _ ByVal MapName As String, _ ByVal LayerID As Integer _ ) As String
[C#] public string GetVirtualCacheDirectory ( string MapName, int LayerID );
[C++]
HRESULT GetVirtualCacheDirectory(
BSTR MapName,
long LayerID,
BSTR* pURL
);
[C++]
Parameters MapName [in] MapName is a parameter of type BSTR LayerID [in] LayerID is a parameter of type long pURL [out, retval] pURL is a parameter of type BSTR
This call retrieves the virtual directory that hosts the cache tiles for this map service. Use -1 as the layerid in order to get the virtual cache directory for a map service that has a single fused cache. This is an optional property and may not always be present, for example, on a secure server or on an on demand server. If present then this is the preferred (most optimal) way for a client to retrieve tiles.