Generator.MaxLength-Eigenschaft

Ruft die maximale Länge für Werte in dieser Spalte ab oder legt diese fest.

Namespace:  Microsoft.Data.Schema.Tools.DataGenerator
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
<InputAttribute(AutoAssignedInput := AutoAssignedInput.MaxLength, Visible := False)> _
Public Property MaxLength As Integer
    Get
    Set
[InputAttribute(AutoAssignedInput = AutoAssignedInput.MaxLength, Visible = false)]
public int MaxLength { get; set; }
[InputAttribute(AutoAssignedInput = AutoAssignedInput::MaxLength, Visible = false)]
public:
property int MaxLength {
    int get ();
    void set (int value);
}
[<InputAttribute(AutoAssignedInput = AutoAssignedInput.MaxLength, Visible = false)>]
member MaxLength : int with get, set
function get MaxLength () : int
function set MaxLength (value : int)

Eigenschaftswert

Typ: System.Int32
Ein int-Wert, der die maximale Länge für die Spalte enthält.

Hinweise

Diese Eigenschaft wird mit dem benannten InputAttribute-Parameter und dem benannten AutoAssignedInput-Parameter ergänzt.

.NET Framework-Sicherheit

Siehe auch

Referenz

Generator Klasse

Microsoft.Data.Schema.Tools.DataGenerator-Namespace

InputAttribute

AutoAssignedInput