Partilhar via


Database.ConnectionStringNoCredentials 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 connection string without the username and password.

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

Syntax

'Declaration
ProtectedReadOnlyPropertyConnectionStringNoCredentialsAs String
protected string ConnectionStringNoCredentials { get; }
protected:
property String^ ConnectionStringNoCredentials {
    String^ get ();
}
protectedfunction getConnectionStringNoCredentials () : String

Field Value

The connection string without the username and password.

See Also

Database Class

Microsoft.Practices.EnterpriseLibrary.Data Namespace

Database.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.