In this article you will learn to update a site collection or sub site using csom. To update a site collection or sub site, just set its properties and using the Update() method site can update.In the client side object model you must call either ExecuteQuery() or ExecuteQueryAsync(ClientRequestSucceededEventHandler, ClientRequestFailedEventHandler) to request batch processing of all commands that you specify. Below example update the title and description of a specific site collection.


Leave a Reply

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