SystemDataType.AllowLength Property

Gets the Boolean property that specifies whether the system data type allows a length specification.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property AllowLength As Boolean 
    Get
'Usage
Dim instance As SystemDataType 
Dim value As Boolean 

value = instance.AllowLength
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool AllowLength { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool AllowLength {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member AllowLength : bool
function get AllowLength () : boolean

Property Value

Type: System.Boolean
A Boolean value that specifies whether the system data type allows a length specification.If True, the system data type allows a length specification.If False, the system data type does not allow a length specification.

Examples

Working with Data Types

See Also

Reference

SystemDataType Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Data Types (Database Engine)