ArcObjects Library Reference (Server)  

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

.NET Samples

Publish an image service and set configurations (Code Files: ISConfig) |

.NET Related Topics

Server |