Re: getting ADO-like properties from OleDbConnection

From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 05/14/04


Date: Fri, 14 May 2004 10:13:34 -0500

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)



Relevant Pages

  • getting ADO-like properties from OleDbConnection
    ... ADO connection objects had a Properties array which you could iterate ... to determine connection string values, such as "Persist Security Info" ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Looking for ASP.NET/SQL Server 2000 App Security Recommendations
    ... connection string information be stored for and accessed by the ... One possibility is to store the connection string in an encrypted format within the web.config file like this... ... In the connection string, set the Persist Security Info named value to false, so it will hide security sensitive info, like password from being exposed in connection string property of the SqlConnection object. ...
    (microsoft.public.dotnet.framework.aspnet.security)