How to omit System Databases using SMO in For Next
Having read a reply post by Chris Diver, I found the SMO "list Databases" very useful. Here is the code:

    For Each db As Database In server.Databases
        Me.ComboBox1.Items.Add(db.Name)
    Next

The above code lists all Databases on SQL Server 2008 R2. I would like to omit System Databases from the above code results.

Thank you.
How to omit System Databases using SMO in For Next
===

Having read a reply post by Chris Diver, I found the SMO "list Databases" very useful. Here is the code:

    For Each db As Database In server.Databases
        Me.ComboBox1.Items.Add(db.Name)
    Next

The above code lists all Databases on SQL Server 2008 R2. I would like to omit System Databases from the above code results.

Thank you.