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
Get
Set
'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);
}
function get PercentageNull () : int
function set PercentageNull (value : int)
[<InputAttribute(AutoAssignedInput = AutoAssignedInput.PercentageNull, Visible = true,
ReadOnly = false)>]
member PercentageNull : int with get, set
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
- 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.