Udostępnij za pośrednictwem


Właściwość UserDefinedType.MaxLength

Pobiera maksymalną długość alias typu danych.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MaxLength As Integer
    Get
'Użycie
Dim instance As UserDefinedType
Dim value As Integer

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

Wartość właściwości

Typ: System.Int32
Int32 Wartość, która określa maksymalną długość typ danych alias.