title: Get SQL Server Instances in Windows 10
body: <p>I have some old VB.Net code that I have used for years that retrieves SQL instances.  It has worked perfectly for a number of years (through SQL Server 2008, 2012, now 2014).  But I installed Windows 10 a week ago and (this is the first time I've used the code since) now it's not returning any rows in the table whatsoever.  And yes (I've read the other related items) SQL Browsing service is running).</p>
  
  <p>The code being used is directly out of MSDN (where I originally found it)...</p>
  
  <pre><code>Dim instance As SqlDataSourceEnumerator = SqlDataSourceEnumerator.Instance
  Dim table As System.Data.DataTable = instance.GetDataSources()
  DisplayData(table)
  Me.LoginName.Enabled = True
  Me.LoginPassword.Enabled = True
  </code></pre>
  
  <p>And, yes, before anyone asks, I checked the contents of <code>table</code> in debug mode at execution. The rows <code>count=0</code>.</p>
  
  <p>Does anyone know if this is a Windows 10 issue and/or have any thoughts on what to do to get the instances now?</p>
  
  <p>Thanks in advance for any assistance/advice!</p>