Statement.getMaxFieldSize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the current maximum column size limit, if any.
public:
virtual int getMaxFieldSize();
public virtual int getMaxFieldSize ();
abstract member getMaxFieldSize : unit -> int
override this.getMaxFieldSize : unit -> int
Public Overridable Function getMaxFieldSize () As Integer
Returns
The current maximum column size limit; 0 means unlimited.
Remarks
The maxFieldSize limit (in bytes) is the maximum amount of data returned for any column value; it only applies to binary, varbinary, longvarbinary, char, varchar, and longvarchar columns. If the limit is exceeded, the excess data is silently discarded.