tags:

views:

55

answers:

1

Do you know that how to extract the site title from the link in the sharepoint?

+3  A: 

Use the SPWeb class to retrieve title property.

Sample code:

SPWeb oWebsite = SPContext.Current.Site.OpenWeb("Website_URL");
string siteTitle = oWebSite.Title;

Resources:

Toni Frankola