Partager via


Propriété MaxLength

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

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Public ReadOnly Property MaxLength As Integer
    Get
'Utilisation
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

Valeur de propriété

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.