This document is archived and information here might be outdated. Recommended version. |
Initializes a GeoDataServer object with a map document.
[Visual Basic .NET] Public Sub InitFromMap ( _ ByVal filePath As String _ )
[C#] public void InitFromMap ( string filePath );
[C++]
HRESULT InitFromMap(
BSTR filePath
);
[C++]
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.