Initializes a GeoDataServer object with a map document.
[Visual Basic 6.0] Sub InitFromMap(
ByVal filePath As String _
)
[Visual Basic .NET] Public Sub InitFromMap ( _ ByVal filePath As String _ )
[C#] public void InitFromMap ( string filePath );
[Java] public void initFromMap ( String filePath ) throws IOException, AutomationException
[C++]
HRESULT InitFromMap(
BSTR filePath
);
Parameters
filePath [in]
filePath is a parameter of type BSTR
The InitFromMap method uses a file system path to an ArcMap document to initialize the GeoDataServer. The document must contain layers or tables from a single geodatabase connection.