I would like to create a custom deleteweb.aspx page. The code behind first takes a backup of the site before deleting it.
The Backup() method (http://msdn.microsoft.com/en-us/library/cc264319.aspx) can be used to make a backup of my site but how can I make sure this process is fully completed before I remove the site?