In this article we will be seeing how to retrieve all the content sources from
search service application in SharePoint 2010.
If you go to Central Administration => Application Management => Manage
service applications => Search Service Application => Crawling => Content
Sources you could see all the content sources. C# code:
Creating a custom Master page in SharePoint 2010 using Visual Studio 2010
Configure a Crawl Schedule for Enterprise Search Content Source in SharePoint 2010 using powershell