Condividi tramite


Proprietà MaxLength

Gets the maximum number of characters accepted by the user-defined data type.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
Public ReadOnly Property MaxLength As Short
    Get
'Utilizzo
Dim instance As UserDefinedDataType
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

Valore proprietà

Tipo: System. . :: . .Int16
An Int16 (short) value that specifies the maximum number of characters accepted by the user-defined data type.