Compartir a través de


UserDefinedType.MaxLength Propiedad

Gets the maximum length of the alias data type.

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

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MaxLength As Integer 
    Get
'Uso
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

Valor de la propiedad

Tipo: System.Int32
An Int32 value that specifies the maximum length of the alias data type.

Ejemplos

Trabajar con tipos de datos

Vea también

Referencia

UserDefinedType Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Trabajar con tipos definidos por el usuario para CLR

CREATE TYPE (Transact-SQL)