Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Programmatically determining SPS or WSS at runtime

  Asked By: Nicholas Scott         Date: Aug 21, 2006      Category: Sharepoint      Views: 178
 

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.


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:              

 

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.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].