Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Programmatically determining SPS or WSS at runtime

  Asked By: Nicholas    Date: Aug 21    Category: Sharepoint    Views: 674

Has anybody come up with a definitive way to tell which environment
your code is executing in? I have been using the PortalURL property of
the SPSite object. If it is empty than it "must"??? be WSS?

If anyone has other methods of checking this, I would appreciate some feedback.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Programmatically determining SPS or WSS at runtime Or get search suggestion and latest updates.




Tagged: