A Secure Way of Building Connection Strings - Reviewing member properties of the class
(Page 2 of 5 )
Start a Windows application project, CStringBuilder, which adds the default Form1 to the project. Form1 was renamed Properties.vb in this tutorial. The next picture shows the project consisting of the two forms Properties.vb and WriterConnect.vb. Proper references have been made for the System.Data and other classes.

Before proceeding any further it is instructive to look at the Object Browser to review some of the features of the SqlConnectionStringBuilder. The next picture shows the SqlConnectionStringBuilder class which is hierarchically related to System.Object. It has two class constructors, one of those taking in a string as an argument. There are a large number of properties and a couple of methods in this class.
System.Object
System.Data.Common.DbConnectionStringBuilder
System.Data.SqlClient.
SqlConnectionStringBuilder
Next: Reviewing properties using an example >>
More MS SQL Server Articles
More By Jayaram Krishnaswamy