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.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
I think you should have the required values in respective SPWeb objects WebTemplate and Configuration properties.
Some example of a console application here.