private static void CreateSiteStructure(ClientContext context) { //Iterate through an XML file of the site structure and create as follows... Deploy deploy = new Deploy(); deploy.CreateSite(context, "MytestSite", "MyNamedTestSite", "Some random description"); }