Share via


Generator.PercentageNull Property

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

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

Syntax

'Declaration
<InputAttribute(AutoAssignedInput := AutoAssignedInput.PercentageNull, Visible := True,  _
    ReadOnly := False)> _
Public Property PercentageNull As Integer
'Usage
Dim instance As Generator 
Dim value As Integer 

value = instance.PercentageNull

instance.PercentageNull = value
[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);
}
public function get PercentageNull () : int 
public function set PercentageNull (value : int)

Property Value

Type: System.Int32
An integer 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

Generator Members

Microsoft.Data.Schema.DataGenerator Namespace