4

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

2

1 Answer 1

2

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 and acknowledge you have read our privacy policy.

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