Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

AdoNetAppenderParameter.Size Property

Gets or sets the size for this parameter.

[Visual�Basic]
Public�Property�Size�As�Integer
[C#]
public�int�Size�{get;�set;}

Property Value

The size for this parameter.

Remarks

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

AdoNetAppenderParameter Class | log4net.Appender Namespace | Size