AdoNetAppender OnClose Method | Apache log4net™ SDK Documentation

Override the parent method to close the database

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    protected override void OnClose()

    Protected Overrides Sub OnClose

    protected:
    virtual void OnClose() override

    abstract OnClose : unit -> unit
    override OnClose : unit -> unit

Remarks

Closes the database command and database connection.

See Also

#### Reference

AdoNetAppender Class
log4net.Appender Namespace