Share via


CommandFailedEvent.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 connection string of the Database that executed the failed command, with credentials removed.

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

Syntax

'Declaration
PublicReadOnlyPropertyConnectionStringAs String
public string ConnectionString { get; }
public:
property String^ ConnectionString {
    String^ get ();
}
publicfunction getConnectionString () : String

See Also

CommandFailedEvent Class

Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation Namespace

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.