Change the sharepoint icon for a site programmatically
I am needing to change the site icon for every sit开发者_运维技巧e in a site collection in sharepoint 2007. I already know you can change it from Site Settings -> Look and Feel. Is there a way to do this programmatically?
Do you mean the site logo? Check out SPWeb.SiteLogoUrl property. You probably want to set it as:
site.RootWeb.SiteLogoUrl = pictureUrl;
精彩评论