|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeServer Interface > IGlobeServer.GetCacheName Method (ArcObjects .NET 10.5 SDK) | 
Gets the virtual cache directory for a given layer.
[Visual Basic .NET] Public Function GetCacheName ( _ ByVal LayerID As Integer _ ) As String
[C#] public string GetCacheName ( int LayerID );
[C++]
HRESULT GetCacheName(
  long LayerID,
  BSTR* pName
);
[C++]
Parameters LayerID [in] LayerID is a parameter of type long pName [out, retval] pName is a parameter of type BSTR