|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IC > IConfigurationFactory2 Interface > IConfigurationFactory2.OnRemoveEx Method (ArcObjects .NET 10.5 SDK) | 
Is called when the configuration is removed.
[Visual Basic .NET] Public Sub OnRemoveEx ( _ ByVal pAdmin As IServerObjectAdmin, _ ByVal props As IPropertySet _ )
[C#] public void OnRemoveEx ( IServerObjectAdmin pAdmin, IPropertySet props );
[C++]
HRESULT OnRemoveEx(
  IServerObjectAdmin* pAdmin,
  IPropertySet* props
);
[C++]
Parameters pAdmin [in]
pAdmin is a parameter of type IServerObjectAdmin props [in]
props is a parameter of type IPropertySet