Initializes a GeoDataServer object from a geodatabase or an sde connection file (*.sde).
[Visual Basic 6.0] Sub InitFromFile(
ByVal file As String _
)
[Visual Basic .NET] Public Sub InitFromFile ( _ ByVal file As String _ )
[C#] public void InitFromFile ( string file );
[Java] public void initFromFile ( String file ) throws IOException, AutomationException
[C++]
HRESULT InitFromFile(
BSTR file
);
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.