Share via


DataTypeSpec.RequireLength Property

Gets a value that indicates whether the data type requires a length.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public ReadOnly Property RequireLength As Boolean
    Get
'Usage
Dim instance As DataTypeSpec
Dim value As Boolean

value = instance.RequireLength
public bool RequireLength { get; }
public:
property bool RequireLength {
    bool get ();
}
member RequireLength : bool
function get RequireLength () : boolean

Property Value

Type: System.Boolean
true if the data type requires a length; otherwise, false.