This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoDatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IG > IGeoDataServerInit Interface > IGeoDataServerInit.InitFromFile Method (ArcObjects .NET 10.4 SDK) |
Initializes a GeoDataServer object from a geodatabase or an sde connection file (*.sde).
[Visual Basic .NET] Public Sub InitFromFile ( _ ByVal file As String _ )
[C#] public void InitFromFile ( string file );
[C++]
HRESULT InitFromFile(
BSTR file
);
[C++]
Parameters file [in] file is a parameter of type BSTR
The InitFromFile method uses a file system path to a geodatabase or an ArcSDE geodatabase connection file to initialize the GeoDataServer.