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


IServerObjectAdmin.CreateConfiguration Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Server)  

IServerObjectAdmin.CreateConfiguration Method

Creates a new server object configuration.

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

Parameters config [out, retval]
config is a parameter of type IServerObjectConfiguration

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