Drop a SQL Server database using VB.NET:
Private Sub DropDatabase(ByVal dbName As String)
Try
Dim cn As New SqlClient.SqlConnection("your connection string")
Dim com As New SqlClient.SqlCommand("drop database " + dbName, cn)
cn.Open()
com.ExecuteNonQuery()
MsgBox("Database Dropped")
cn.Close()
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
You can see an example of how to Create a database using VB.NET




