Posts

Showing posts from July, 2012

Get Database Connection String of SharePoint Content Database

  You can find  the SharePoint Content Database of SharePoint Site Collection via SPSite.ContentDatabase that is a SPDatabase object. Via SPDatabase object, you have DatabaseConnectionString and LegacyDatabaseConnectionString that used to connect to SharePoint Content Database http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsite.contentdatabase.aspx http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spdatabase_members http://blog.tylerholmes.com/2009/02/how-sharepoint-found-its-content.html