This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeServerSetup Interface > IGlobeServerSetup.InitFromLayer Method (ArcObjects .NET 10.4 SDK) |
Initializes the server from from a layer file. The path must be accessible to the server machine.
[Visual Basic .NET] Public Sub InitFromLayer ( _ ByVal layerFile As String _ )
[C#] public void InitFromLayer ( string layerFile );
[C++]
HRESULT InitFromLayer(
BSTR layerFile
);
[C++]
Parameters layerFile [in] layerFile is a parameter of type BSTR