Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim dtlSQLServers As DataTable
' Get list of all available servers.
dtlSQLServers = SmoApplication.EnumAvailableSqlServers(False)
' Display the list of all available servers and
' identify the local sql server.
For Each drServer As DataRow In dtlSQLServers.Rows
If drServer("IsLocal") = True Then
Console.WriteLine("{0} (is the local sql server.)", drServer("Name"))
Else
Console.WriteLine(drServer("Name"))
End If
Next
' Wait
Console.ReadLine()