Udostępnij za pośrednictwem


DataInstrumentationProvider.connectionOpened Event

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.

Occurs when a new database connection is opened by a Database instance.

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

Syntax

'Declaration
<InstrumentationProviderAttribute("ConnectionOpened")> _
Public Event connectionOpenedAs EventHandler(Of EventArgs)
[InstrumentationProviderAttribute("ConnectionOpened")]
public event EventHandler<EventArgs> connectionOpened
[InstrumentationProviderAttribute(L"ConnectionOpened")]
public:
 event EventHandler<EventArgs^>^ connectionOpened {
    voidadd (EventHandler<EventArgs^>^ value);
    voidremove (EventHandler<EventArgs^>^ value);
}
JScript does not support events.

See Also

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