This documentation is archived and is not being maintained.

AllowLength Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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



An expression that evaluates to an object in the Applies To list



HRESULT GetAllowLength(LPBOOL pRetVal);

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.