This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin Interface > IServerObjectAdmin.DeleteConfiguration Method (ArcObjects .NET 10.5 SDK) |
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
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.