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


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

IServerObjectAdmin.DeleteConfiguration Method

Deletes a server object configuration from the GIS server.

[Visual Basic .NET]
Public Sub DeleteConfiguration ( _
    ByVal Name As String, _
    ByVal TypeName As String _
)
[C#]
public void DeleteConfiguration (
    string Name,
    string TypeName
);
[C++]
HRESULT DeleteConfiguration(
  BSTR Name,
  BSTR TypeName
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR TypeName [in]
TypeName is a parameter of type BSTR

Product Availability

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

Remarks

Use DeleteConfiguration to delete a server object configuration from you GIS Server. Note, in order to call DeleteConfiguration, the server object configuration must be stopped. If it is not stopped, then DeleteConfiguration will return an error.

See Also

IServerObjectAdmin Interface