Is there an easy way to get just the web application URL in SharePoint, for example, SPWEbApplication has the following property spwebapplication.sites that would return URL's of all the site collections, but not of the root URL that they all contain. So I could return this:
http://thiswebapplication:8001/thissitecollection
but not this:
http://thiswebapplication:8001
Is there an easy way to get http://thiswebapplication without any parsing, using the SharePoint or built in ASP.NET objects?