Generator.MaxLength (Propiedad)

Obtiene o establece la longitud máxima para los valores de esta columna.

Espacio de nombres:  Microsoft.Data.Schema.Tools.DataGenerator
Ensamblado:  Microsoft.Data.Schema.Tools (en Microsoft.Data.Schema.Tools.dll)

Sintaxis

'Declaración
<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)

Valor de propiedad

Tipo: System.Int32
Un valor de tipo int que contiene la longitud máxima de la columna.

Comentarios

Esta propiedad se decora con los parámetros con nombre InputAttribute y AutoAssignedInput.

Seguridad de .NET Framework

Vea también

Referencia

Generator Clase

Microsoft.Data.Schema.Tools.DataGenerator (Espacio de nombres)

InputAttribute

AutoAssignedInput