protected override void InternalProcessRecord() { TaskLogger.LogEnter(); base.InternalProcessRecord(); if (this.scriptMapPhysicalPath != null && !IisUtility.IsAnyWebVirtualDirUsingThisExecutableInScriptMap(base.DataObject.Server.Name, this.scriptMapPhysicalPath)) { using (IsapiExtensionList isapiExtensionList = new IsapiExtensionList(base.DataObject.Server.Name)) { isapiExtensionList.RemoveByExecutable(this.scriptMapPhysicalPath); isapiExtensionList.CommitChanges(); IisUtility.CommitMetabaseChanges((base.DataObject.Server == null) ? null : base.DataObject.Server.Name); } } TaskLogger.LogExit(); }