29
Jul

Sigh.

This post explains nicely why i just deleted every web in my whole site collection.

Basically OpenWeb() with no parameter passed will return the first valid web in the URL string passed to open the SPSite object! So it kept walking up the hierarchy, returning every level to my recursive delete function.

Ah well, at least it wasn’t production….

VN:F [1.9.2_1090]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.2_1090]
Rating: 0 (from 0 votes)

Comments are closed.

-->