How to retrieve all list/library which uses custom content type or a custom column in a site collection?

It would be really helpful if you post your answers in C# code or SQL query. Please let me know if you have any clarification on the question. Thanks


1 Answer 1


SharePoint API has class and function SPContentTypeUsage.GetUsages that returns all content type usages in site collection. Is MSDN article there is an C# sample too.

Also look at the accepted answer in this question . The answer is in PowerShell.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.