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

IServerObjectAdmin.AddConfiguration Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin Interface > IServerObjectAdmin.AddConfiguration Method
ArcGIS Developer Help

IServerObjectAdmin.AddConfiguration Method

Adds a server object configuration (created with CreateConfiguration) to the GIS server.

[Visual Basic .NET]
Public Sub AddConfiguration ( _
    ByVal config As IServerObjectConfiguration _
public void AddConfiguration (
    IServerObjectConfiguration config
HRESULT AddConfiguration(
  IServerObjectConfiguration* config
config [in]

config is a parameter of type IServerObjectConfiguration*

Product Availability

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


The AddConfiguration method will add a ServerObjectConfiguration to your ArcGIS Server. A new ServerObjectConfiguration can be created using the CreateConfiguration method. Use the IServerObjectConfiguration interface to set the various properties of the configuration, then use the AddConfiguration method on IServerObjectAdmin to add the new configuration to the ArcGIS Server.

Once a configuration is added to the server, you can use StartConfiguration to make it available for applications to use.

See Also

IServerObjectAdmin Interface