I have a site object. How do I get the webapplication from the site? I do not have spcontext available. I am using SharePoint 2010. I am trying to do this in a feature event reciever when my feature in enabled.
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
If your feature is activated at the SPSite level, you can do the following...
I'm not near VS2010 to verify, but I believe |
|||||||||
|