Share via


Generator.DefaultValue Property

Gets or sets the default value of the column.

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

Syntax

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

value = instance.DefaultValue

instance.DefaultValue = value
[InputAttribute(AutoAssignedInput = AutoAssignedInput.DefaultValue, ReadOnly = true, 
    Visible = false)]
public string DefaultValue { get; set; }
[InputAttribute(AutoAssignedInput = AutoAssignedInput::DefaultValue, ReadOnly = true, 
    Visible = false)]
public:
property String^ DefaultValue {
    String^ get ();
    void set (String^ value);
}
function get DefaultValue () : String
function set DefaultValue (value : String)
[<InputAttribute(AutoAssignedInput = AutoAssignedInput.DefaultValue, ReadOnly = true, 
    Visible = false)>]
member DefaultValue : string with get, set

Property Value

Type: System.String
A string that contains the default value.

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