Delen via


UserDefinedTableType.MaxLength Property

Gets the maximum length in bytes for a column in the table.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property MaxLength As Short
    Get
'Usage
Dim instance As UserDefinedTableType
Dim value As Short

value = instance.MaxLength
[SfcPropertyAttribute]
public short MaxLength { get; }
[SfcPropertyAttribute]
public:
property short MaxLength {
    short get ();
}
[<SfcPropertyAttribute>]
member MaxLength : int16
function get MaxLength () : short

Property Value

Type: System.Int16
Int16