AdoNetAppenderParameterSize Property Apache log4net™ SDK Documentation
Gets or sets the size for this parameter.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 4.0

public int Size { get; set; }

Property Value

Type: Int32
The size for this parameter.

The maximum size, in bytes, of the data within the column.

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

For BLOB data types like VARCHAR(max) it may be impossible to infer the value automatically, use -1 as the size in this case.

See Also