Generator.MaxLength Property
Gets or sets the maximum length for this column.
Namespace: Microsoft.Data.Schema.DataGenerator
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
<InputAttribute(AutoAssignedInput := AutoAssignedInput.MaxLength, Visible := False)> _
Public Property MaxLength As Integer
Get
Set
'Usage
Dim instance As Generator
Dim value As Integer
value = instance.MaxLength
instance.MaxLength = value
[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);
}
function get MaxLength () : int
function set MaxLength (value : int)
[<InputAttribute(AutoAssignedInput = AutoAssignedInput.MaxLength, Visible = false)>]
member MaxLength : int with get, set
Property Value
Type: System.Int32
An integer that contains the maximum length for the column.
Remarks
This property is decorated with the InputAttribute and the AutoAssignedInput named parameter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.