Generator.Seed Property
Gets or sets the seed. You can use the seed to initialize a deterministic random data generation algorithm.
Namespace: Microsoft.Data.Schema.DataGenerator
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
<InputAttribute(AutoAssignedInput := AutoAssignedInput.Seed, Visible := True, _
ReadOnly := False)> _
Public Property Seed As Integer
'Usage
Dim instance As Generator
Dim value As Integer
value = instance.Seed
instance.Seed = value
[InputAttribute(AutoAssignedInput = AutoAssignedInput.Seed, Visible = true,
ReadOnly = false)]
public int Seed { get; set; }
[InputAttribute(AutoAssignedInput = AutoAssignedInput::Seed, Visible = true,
ReadOnly = false)]
public:
property int Seed {
int get ();
void set (int value);
}
public function get Seed () : int
public function set Seed (value : int)
Property Value
Type: System.Int32
An integer that contains the seed.
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.