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


IServerObjectAdmin.UpdateConfiguration Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Server)  

IServerObjectAdmin.UpdateConfiguration Method

Updates the properties of a server object configuration.

[Visual Basic .NET]
Public Sub UpdateConfiguration ( _
    ByVal config As IServerObjectConfiguration _
)
[C#]
public void UpdateConfiguration (
    IServerObjectConfiguration config
);
[C++]
HRESULT UpdateConfiguration(
  IServerObjectConfiguration* config
);
[C++]

Parameters config [in]
config is a parameter of type IServerObjectConfiguration

Product Availability

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

Remarks

The UpdateConfiguration method will update the ServerObjectConfiguration that is specified when the method is called. You can use the GetConfiguration or GetConfigurations methods on IServerObjectAdmin to get a reference to the ServerObjectConfiguration you want to update.

Note that the server object configuration must be stopped before you call UpdateConfiguration. You can use StopConfiguration to stop the server object configuration.

See Also

IServerObjectAdmin Interface