Share via


Generator.PercentageNull Property

Gets or sets the percentage of the generated values for this column that the user wants to be nulla null reference (Nothing in Visual Basic). The percentage is expressed as an integer between 0 and 100.

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

Syntax

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

Property Value

Type: System.Int32
An int that contains the percentage of null values to generate.

Remarks

This property is decorated with the InputAttribute and the AutoAssignedInput named parameter.

.NET Framework Security

See Also

Reference

Generator Class

Microsoft.Data.Schema.Tools.DataGenerator Namespace

InputAttribute

AutoAssignedInput