Share via


Database.ConnectionString Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets the string used to open a database.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)

Syntax

'Declaration
Protected FriendReadOnlyPropertyConnectionStringAs String
protected internal string ConnectionString { get; }
protected public:
property String^ ConnectionString {
    String^ get ();
}
protected internalfunction getConnectionString () : String

Field Value

The string used to open a database.

See Also

Database Class

Microsoft.Practices.EnterpriseLibrary.Data Namespace

DbConnection.ConnectionString

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.