Determine if a Database is Present in a SQL Server (ADO.NET)
Category:
C#, VB.NET, ASP.NETType:
SnippetsDifficulty:
BeginningAuthor:
Intelligent Solutions Inc.Version Compatibility: Visual Basic.NET, ASP.NET
More information:
Requires an open sql client connection with privileges to read the master database. See comments.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: