Hello.
I have a list of urls (content type usage url's). Now, content types are deployed across web's. I need to loop those content types and do some actions in each list, but opening new SPWeb instance every loop is too resource intensive.
Is there built-in method to tell me if this URL belongs to certain SPWeb object?
Example:
SPWeb's may be
With content type usage links like:
- /web2/Pages
- /web2/Lists/Tasks
- /web2/Lists/Documents
- /web2/subweb1/Lists/Tasks
- ...
As you can see, for first 3 usages i don't need to open up new SPWeb