Delete the descendants of an item
Version:
You can use the Sitecore.Data.Items.Item.DeleteChildren() method to delete the descendants of an item. For example, to delete the descendants of the /Sitecore/Content/Home item in the Master database: