log4net SDK Reference |

# AdoNetAppender.ResolveConnectionType Method

Retrieves the class type of the ADO.NET provider.

[Visual Basic]
Overridable Protected Function ResolveConnectionType() As Type
[C#]
protected virtual Type ResolveConnectionType();

#### Return Value

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

AdoNetAppender Class | log4net.Appender Namespace