Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Getting a list of Portal sites on Sharepoint Portal server

  Asked By: Coty    Date: Nov 14    Category: Sharepoint    Views: 2124

Can we get a list of all portal sites on sharepoint portal server
programmatically

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Stephon Valentine     Answered On: Nov 14

Yup. Use the Sites property from the top level SPSiteCollection. Depends on how you’re getting this list  as you can get it from the SPViritualServer (usually if you’re doing this outside of a web part) or though SPControl.GetContextSite.

 
Didn't find what you were looking for? Find more on Getting a list of Portal sites on Sharepoint Portal server Or get search suggestion and latest updates.




Tagged: