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


IServerObjectAdmin.CreateConfiguration 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.CreateConfiguration Method
ArcGIS Developer Help

IServerObjectAdmin.CreateConfiguration Method

Creates a new server object configuration.

[Visual Basic .NET]
Public Function CreateConfiguration ( _
) As IServerObjectConfiguration
[C#]
public IServerObjectConfiguration CreateConfiguration (
);
[C++]
HRESULT CreateConfiguration(
void
);

Product Availability

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

Remarks

The CreateConfiguration method will create a new ServerObjectConfiguration that you can add to your ArcGIS Server. The CreateConfiguration method returns the IServerObjectConfiguration interface on the new ServerObjectConfiguration. 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 the StartConfiguration and EnableConfiguration to make it available for applications to use.

See Also

IServerObjectAdmin Interface