In order to loop through (iterate through) the list of available database in a network using SQL SMO: