AdoNetAppender ResolveConnectionType Method | Apache log4net™ SDK Documentation

Retrieves the class type of the ADO.NET provider.

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

C#
VB
C++
F#
Copy

    protected virtual Type ResolveConnectionType()

    Protected Overridable Function ResolveConnectionType As Type

    protected:
    virtual Type^ ResolveConnectionType()

    abstract ResolveConnectionType : unit -> Type
    override ResolveConnectionType : unit -> Type

#### Return Value

Type: Type
The Type of the ADO.NET provider
Remarks

Gets the Type of the ADO.NET provider to use to connect to the database. This method resolves the type specified in the ConnectionType property.

Subclasses can override this method to return a different type if necessary.

See Also

#### Reference

AdoNetAppender Class
log4net.Appender Namespace