Generator.PercentageNull Property

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

Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)

Syntax

'Declaration
Public Property PercentageNull As Integer
'Usage
Dim instance As Generator
Dim value As Integer

value = instance.PercentageNull

instance.PercentageNull = value
public int PercentageNull { get; set; }
public:
property int PercentageNull {
    int get ();
    void set (int value);
}
/** @property */
public int get_PercentageNull ()

/** @property */
public void set_PercentageNull (int value)
public function get PercentageNull () : int

public function set PercentageNull (value : int)

Property Value

An integer that contains the percentage of null values to generate.

Remarks

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

See Also

Reference

Generator Class
Generator Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
GeneratorAttribute
GeneratorInit
IGenerator
PercentageNull

Concepts

An Overview of Data Generator Extensibility
Specifying Details of Data Generation for a Column

Other Resources

Creating Custom Data Generators