ArcObjects Library Reference (GeoDatabaseDistributed)  

IGeoDataServerInit.InitFromFile Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The InitFromFile method uses a file system path to a geodatabase or an ArcSDE geodatabase connection file to initialize the GeoDataServer.

See Also

IGeoDataServerInit Interface

.NET Related Topics

How to initialize a GeoDataServer object |