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


IGeoDataServerInit Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoDatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IG > IGeoDataServerInit Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabaseDistributed)  

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.

CoClasses that implement IGeoDataServerInit

CoClasses and 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.

.NET Related Topics

How to initialize a GeoDataServer object