This document is archived and information here might be outdated. Recommended version. |
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
);
[C++]
Parameters MapName [in]
MapName is a parameter of type BSTR LayerID [in]
LayerID is a parameter of type long
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.