In this article you will learn to get site collection or sub site property using csom in SharePoint Online.If you want to retrieve some specific property of site collection or sub site, using Linq or lambda expression with the Load<T>(T, []) method you can specify the name.Only title and description property you can get data without calling load method. If you will not load some specific property inside load method, will get exception PropertyOrFieldNotInitializedException.

 

Leave a Reply

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