How to get absolute URL of a web application (SPWebApplication) in SharePoint 2010 C#
Hi
Here is the sample code to get absolute URL of web application;
string path = webApp.GetResponseUri(SPUrlZone.Default).AbsoluteUri;
Thanks
Comments
Post a Comment