HPJ Posted December 2, 2009 Posted December 2, 2009 Hi,I'm trying to do a script in WAsP that'll delete all sites under a site group... Which method should I use to delete a site?
Duncan Posted December 2, 2009 Posted December 2, 2009 Get an iterator (ITurbineSiteGroupIterator) from the IUnstructuredTurnineSiteGroup. Each member is of type ITurbineSiteGroupMember, which has a property AsIHierarchyMember. On that interface is a Remove method.Does this tell you what you need? I can post a bit of sample script code if that helps to clarify things.
HPJ Posted December 2, 2009 Posted December 2, 2009 Thanks Duncan,I prefer fiddling with it myself to start with, but I can't guarantee I won't be back for that sample ;-)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now