Share via


UserDefinedType.IsFixedLength Property

Gets the Boolean property that specifies whether the alias data type is fixed length.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsFixedLength As Boolean 
    Get
'Usage
Dim instance As UserDefinedType 
Dim value As Boolean 

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

Property Value

Type: System.Boolean
A Boolean value that specifies whether the alias data type is fixed length.If True, the alias data type is fixed length.If False (default), the alias data type is variable length.

See Also

Reference

UserDefinedType Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Working with Data Types

Working with CLR User-defined Types

CREATE TYPE (Transact-SQL)