AdoNetAppenderParameter Size Property | Apache log4net™ SDK Documentation

Gets or sets the size 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 int Size { get; set; }

    Public Property Size As Integer
    	Get
    	Set

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

    member Size : int with get, set

#### Property Value

Type: Int32
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

#### Reference

AdoNetAppenderParameter Class
log4net.Appender Namespace
IDbDataParameter
Size