AllowLength Property

SQL-DMO

SQL-DMO

AllowLength Property

The AllowLength property exposes the ability to qualify a data type using a length parameter.

Applies To
SystemDatatype Object
Syntax

object.AllowLength

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetAllowLength(LPBOOL pRetVal);

Remarks

AllowLength is TRUE for data types that accept a length qualification. For example, the property is TRUE for the SystemDatatype object referencing the varchar data type.