<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharePoint Tip #16. Do you know “how to get the SharePoint version programmatically”?</title><link>http://msmvps.com/blogs/laflour/archive/2009/02/22/sharepoint-tip-16-do-you-know-how-to-get-the-sharepoint-version-programmatically.aspx</link><description>The administrative way of getting SharePoint version is navigating to &amp;ldquo; Central Administration &amp;gt; Operations &amp;gt; Servers in Farm &amp;rdquo;. But what if you need to get version programmatically?! It might be that your feature relies on the specific</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: SharePoint Tip #16. Do you know “how to get the SharePoint version programmatically”?</title><link>http://msmvps.com/blogs/laflour/archive/2009/02/22/sharepoint-tip-16-do-you-know-how-to-get-the-sharepoint-version-programmatically.aspx#1713441</link><pubDate>Wed, 05 Aug 2009 09:08:51 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1713441</guid><dc:creator>Jen</dc:creator><description>&lt;p&gt;or something like this (when I&amp;#39;m checking if SP2 is installed), which is a bit smaller:&lt;/p&gt;
&lt;p&gt;Version version = SPFarm.Local.BuildVersion;&lt;/p&gt;
&lt;p&gt;bool sp2 = (version.Major &amp;gt;= 12 &amp;amp;&amp;amp; version.MinorRevision &amp;gt;= 6421);&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1713441" width="1" height="1"&gt;</description></item><item><title>re: SharePoint Tip #16. Do you know “how to get the SharePoint version programmatically”?</title><link>http://msmvps.com/blogs/laflour/archive/2009/02/22/sharepoint-tip-16-do-you-know-how-to-get-the-sharepoint-version-programmatically.aspx#1689738</link><pubDate>Wed, 22 Apr 2009 01:29:41 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1689738</guid><dc:creator>Dzeee</dc:creator><description>&lt;p&gt;Interesting post on how to find the versions of SharePoint installed in the farm.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://home.dzeee.net/blogs/sp/Lists/Posts/Post.aspx?ID=52"&gt;home.dzeee.net/.../Post.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1689738" width="1" height="1"&gt;</description></item><item><title>re: SharePoint Tip #16. Do you know “how to get the SharePoint version programmatically”?</title><link>http://msmvps.com/blogs/laflour/archive/2009/02/22/sharepoint-tip-16-do-you-know-how-to-get-the-sharepoint-version-programmatically.aspx#1687880</link><pubDate>Wed, 15 Apr 2009 20:04:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1687880</guid><dc:creator>Jay</dc:creator><description>&lt;p&gt;fzchen: It sounds like you didn&amp;#39;t select the correct database. Try the following:&lt;/p&gt;
&lt;p&gt;Replace with your ID (do exec sp_databases to figure out the name)&lt;/p&gt;
&lt;p&gt;use &amp;quot;SharePoint_AdminContent_c2150d26-7bd4-4a06-9437-fde2496ccb02&amp;quot;;&lt;/p&gt;
&lt;p&gt;select Version,UserName from Versions where VersionID=&amp;#39;00000000-0000-0000-0000-000000000000&amp;#39; order by id desc;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1687880" width="1" height="1"&gt;</description></item><item><title>re: SharePoint Tip #16. Do you know “how to get the SharePoint version programmatically”?</title><link>http://msmvps.com/blogs/laflour/archive/2009/02/22/sharepoint-tip-16-do-you-know-how-to-get-the-sharepoint-version-programmatically.aspx#1687848</link><pubDate>Wed, 15 Apr 2009 17:12:38 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1687848</guid><dc:creator>Jason Kuter</dc:creator><description>&lt;p&gt;I believe its here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spfarm.buildversion.aspx"&gt;msdn.microsoft.com/.../microsoft.sharepoint.administration.spfarm.buildversion.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1687848" width="1" height="1"&gt;</description></item><item><title>re: SharePoint Tip #16. Do you know “how to get the SharePoint version programmatically”?</title><link>http://msmvps.com/blogs/laflour/archive/2009/02/22/sharepoint-tip-16-do-you-know-how-to-get-the-sharepoint-version-programmatically.aspx#1687114</link><pubDate>Mon, 13 Apr 2009 08:29:18 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1687114</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;What code did you use?! SQL or API?!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1687114" width="1" height="1"&gt;</description></item><item><title> Do you know “how to get the SharePoint Farm server's version programmatically”?</title><link>http://msmvps.com/blogs/laflour/archive/2009/02/22/sharepoint-tip-16-do-you-know-how-to-get-the-sharepoint-version-programmatically.aspx#1687110</link><pubDate>Mon, 13 Apr 2009 08:17:43 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1687110</guid><dc:creator>fzchen</dc:creator><description>&lt;p&gt; &amp;nbsp;I really want to know &amp;quot;how to get the SharePoint Farm server&amp;#39;s version programmatically&amp;quot;,I try to get it user sql script but I got nothing.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1687110" width="1" height="1"&gt;</description></item></channel></rss>