Use the enumallwebs operation to find the site whose URL matches “/sites/site_name”. Its parent site collection XML tag (that is, the Site tag) should have an InSiteMap attribute that has a value equal to False. A value of False means this site collection is orphaned.
Use the value of the Id attribute from the matching Site tag and use it as the value of the siteid parameter of the deletesite operation.
For example:
stsadm -o deletesite -force -siteid {GUID} -databaseserver DS1 -databasename DB1
Ads by Google
No comments:
Post a Comment