﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / Development  / accessing named instances / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 10:33:26 GMT</lastBuildDate><ttl>20</ttl><item><title>accessing named instances</title><link>http://www.sqlservercentral.com/Forums/Topic566756-145-1.aspx</link><description>accessing named instances--------------------------------------------------------------------------------helloI installed two named insances of SQL Server 2005 on Win 2003 server.I hv written small appl which list out all the insances of SQL Server available on network .but it is not working , it is displaying only names of SQL Server.Code---Dim dtSQLServers As DataTable        dtSQLServers = SmoApplication.EnumAvailableSqlServers()        Dim strServer As String        For Each dr As DataRow In dtSQLServers.Rows            strServer = CStr(dr("Server"))            'strServer = dr("Server") &amp; "\" &amp; CStr(dr("Instance"))            If Not TypeOf dr("Instance") Is DBNull AndAlso CStr(dr("Instance")).Length &amp;gt; 0 Then                strServer += "\" &amp; CStr(dr("Instance"))            End If            comboServer.Items.Add(strServer)        Next----------------is there any other method for this.Firewall is off on server.Thanks</description><pubDate>Wed, 10 Sep 2008 05:08:05 GMT</pubDate><dc:creator>shital.p</dc:creator></item></channel></rss>