Generator.PercentageNull 属性

获取或设置此列中用户希望为 nullnull 引用(在 Visual Basic 中为 Nothing) 的生成值所占的百分比。 此百分比表示为一个介于 0 和 100 之间的整数。

命名空间:  Microsoft.Data.Schema.Tools.DataGenerator
程序集:  Microsoft.Data.Schema.Tools(在 Microsoft.Data.Schema.Tools.dll 中)

语法

声明
<InputAttribute(AutoAssignedInput := AutoAssignedInput.PercentageNull, Visible := True,  _
    ReadOnly := False)> _
Public Property PercentageNull As Integer
    Get
    Set
[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)

属性值

类型:System.Int32
一个 int,其中包含要生成的 Null 值所占的百分比。

备注

InputAttributeAutoAssignedInput 命名参数对该属性进行了修饰。

.NET Framework 安全性

请参见

参考

Generator 类

Microsoft.Data.Schema.Tools.DataGenerator 命名空间

InputAttribute

AutoAssignedInput