ArcObjects Library Reference (GeoDatabaseDistributed)  

IGeoDataServerInit.InitFromMap Method

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

Product Availability

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

Remarks

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. 

See Also

IGeoDataServerInit Interface