Is there a way to find out what site definitions were used to create sites? We are trying to remove some site definitions from our code base, but we want to make sure no sites are using them.


1 Answer 1


I think you should have the required values in respective SPWeb objects WebTemplate and Configuration properties.

Some example of a console application here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.