AdoNetAppenderParameter DbType Property | Apache log4net™ SDK Documentation

Gets or sets the database type for this parameter.

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

C#
VB
C++
F#
Copy

    public DbType DbType { get; set; }

    Public Property DbType As DbType
    	Get
    	Set

    public:
    property DbType DbType {
    	DbType get ();
    	void set (DbType value);
    }

    member DbType : DbType with get, set

#### Property Value

Type: DbType
The database type for this parameter.
Remarks

The database type for this parameter. This property should be set to the database type from the DbType enumeration. See DbType.

This property is optional. If not specified the ADO.NET provider will attempt to infer the type from the value.

See Also

#### Reference

AdoNetAppenderParameter Class
log4net.Appender Namespace
IDataParameter
DbType