<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Finding an SPWebApplication by ID</title>
	<atom:link href="http://solutionizing.net/2008/06/14/finding-an-spwebapplication-by-id/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutionizing.net/2008/06/14/finding-an-spwebapplication-by-id/</link>
	<description>Random thoughts on custom development in SharePoint.</description>
	<lastBuildDate>Sat, 12 May 2012 03:45:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Neil</title>
		<link>http://solutionizing.net/2008/06/14/finding-an-spwebapplication-by-id/#comment-2</link>
		<dc:creator><![CDATA[Neil]]></dc:creator>
		<pubDate>Mon, 16 Jun 2008 14:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.wordpress.com/2008/06/15/finding-an-spwebapplication-by-id/#comment-2</guid>
		<description><![CDATA[Keith,

In my opinion, thats the best way if you only know the SPWebApplication guid.  Otherwise you have to go through SPFarm and then to SPServer (or you could go straight to SPServer.Local if you were looking for a WebApp on the local machine).  After that you look at the ServiceInstances, which is an SPServiceInstanceCollection.  I think all the web apps are SPWebService, and then finally in there you can see the SPWebApplications that it corresponds with.

And thats quite a bit of work!  I think the SPPersistedObject approach, while not exactly intuitive, is easier to use than navigating the tree...especially if all you have is the guid!

Neil]]></description>
		<content:encoded><![CDATA[<p>Keith,</p>
<p>In my opinion, thats the best way if you only know the SPWebApplication guid.  Otherwise you have to go through SPFarm and then to SPServer (or you could go straight to SPServer.Local if you were looking for a WebApp on the local machine).  After that you look at the ServiceInstances, which is an SPServiceInstanceCollection.  I think all the web apps are SPWebService, and then finally in there you can see the SPWebApplications that it corresponds with.</p>
<p>And thats quite a bit of work!  I think the SPPersistedObject approach, while not exactly intuitive, is easier to use than navigating the tree&#8230;especially if all you have is the guid!</p>
<p>Neil</p>
]]></content:encoded>
	</item>
</channel>
</rss>

