ADO connection objects had a Properties array which you could iterate
to determine connection string values, such as "Persist Security Info"
and the like.

Is there any facility in ADO.NET to do this aside from parsing the
ConnectionString?

Re: getting ADO-like properties from OleDbConnection by Paul

Paul
Fri May 14 10:13:34 CDT 2004

On 13 May 2004 05:29:04 -0700, mark.lerch@quest.com (Mark) wrote:

¤ ADO connection objects had a Properties array which you could iterate
¤ to determine connection string values, such as "Persist Security Info"
¤ and the like.
¤
¤ Is there any facility in ADO.NET to do this aside from parsing the
¤ ConnectionString?

Afraid not, although splitting the connection string by the semi-colon should be relatively trivial.


Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)