This document is archived and information here might be outdated.  Recommended version.


IGeoDataServerInit Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IG > IGeoDataServerInit Interface
ArcGIS Developer Help

IGeoDataServerInit Interface

Provides access to members that support initializing a GeoDataServer.

Product Availability

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

Members

Name Description
Method InitFromConnectionString Initializes a GeoDataServer object from a connection string to a geodatabase.
Method InitFromFile Initializes a GeoDataServer object from a geodatabase or an sde connection file (*.sde).
Method InitFromMap Initializes a GeoDataServer object with a map document.
Method InitWithWorkspace Initializes a GeoDataServer object with a workspace.
Read/write property MaxRecordCount The maximum number of records returned for query results.
Read/write property PhysicalOutputDirectory The physical directory for output files.
Read/write property VirtualOutputDirectory The virtual directory for output files.

Classes that implement IGeoDataServerInit

Classes Description
GeoDataServer The GeoDataServer component provides programmatic access to a geodatabase.

Remarks

The IGeoDataServerInit interface is used to initialize the GeoDataServer coclass. The coclass must be intialized before any of the other interfaces in the coclass can be used. GeoDataServers that are already published in ArcGIS for Server can also be accessed using the GISClient or Server libraries depending on the type of connection.

[C#]

The How to initialize a GeoDataServer object sample describes various ways to initialize a GeoDataServer.