Compartir a través de


MaxLength Propiedad

Gets the maximum length that is allowed for the string property.

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

Sintaxis

'Declaración
Public ReadOnly Property MaxLength As Integer
    Get
'Uso
Dim instance As StringPropertyTooLongException
Dim value As Integer

value = instance.MaxLength
public int MaxLength { get; }
public:
property int MaxLength {
    int get ();
}
member MaxLength : int
function get MaxLength () : int

Valor de la propiedad

Tipo: System. . :: . .Int32
An Int32 value that specifies the maximum length that is allowed for the string property.

Notas

Este espacio de nombres, clase o miembro solo se admite en la versión 2.0 de Microsoft .NET Framework.