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
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.