Compartir a través de


MaxLength Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute> _
Public ReadOnly Property MaxLength As Short
    Get
'Uso
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

Valor de la propiedad

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