开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜