The maximum data type length of the SQL Variant.

Namespace:  RedGate.SQLDataCompare.Engine
Assembly:  RedGate.SQLDataCompare.Engine (in RedGate.SQLDataCompare.Engine.dll)

Syntax

Visual Basic (Declaration)
Public ReadOnly Property MaxLength As Integer
C#
public int MaxLength { get; }
Visual C++
public:
property int MaxLength {
	int get ();
}

Remarks

MaxLength is in bytes so for example the MaxLength of nvarchar(50) is 100.

See Also