Freigeben über


MaxLength-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public ReadOnly Property MaxLength As Integer
    Get
'Usage
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

Eigenschaftswert

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.