DbType Property

log4net SDK Reference |

# AdoNetAppenderParameter.DbType Property

Gets or sets the database type for this parameter.

[Visual Basic]
Public Property DbType As DbType
[C#]
public System.Data.DbType DbType {get; set;}

#### Property Value

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

AdoNetAppenderParameter Class | log4net.Appender Namespace | DbType