I tried searching for a little snippet code that would show how I can create a new SPWeb in a site collection. I didn’t find it as quickly or easily as I expected so I thought I’d slap together a little entry on the subject.
Hierdie kode skep 'n nuwe Wiki webwerf:
SPSite siteCollection; siteCollection = nuwe SPSite("Http://conchang-o9l8qi"); SPWeb W = siteCollection.OpenWeb(); w.Webs.Add("Xyzzy", "Xyzzy Titel", "Xyzzy beskrywing", 1033, SPWebTemplate.WebTemplateWIKI, valse, valse); |
My aanvanklike soektogte nie, want ek was op soek na woorde soos "voorsiening 'n webwerf met sharepoint voorwerp model" and the like.
As jy soek "Webs.Add()", vind jy 'n aantal baie nuttige blog inskrywings, MSDN articles and SDK documentation that go into depth on this subject. I definitely recommend hierdie werf.
</einde>
Technorati Tags: SharePoint