In this article you will learn Creating a Sub site in SharePoint Online using CSOM. Create a website object and using the the WebCreationInformation class define its properties, and pass this class object to the Add(WebCreationInformation) method of the WebCollection class. Below example creates a new Sub Site within a site collection.

 

Leave a Reply

Your email address will not be published. Required fields are marked *