Share via


DbSyncColumnDescription.DefaultValue Property

Gets or sets the default value for the column when new rows are created.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Property DefaultValue As String
    Get
    Set
'Usage
Dim instance As DbSyncColumnDescription
Dim value As String

value = instance.DefaultValue

instance.DefaultValue = value
public string DefaultValue { get; set; }
public:
property String^ DefaultValue {
    String^ get ();
    void set (String^ value);
}
member DefaultValue : string with get, set
function get DefaultValue () : String
function set DefaultValue (value : String)

Property Value

Type: System.String
The default value for the column if it is set; otherwise, an empty string.

See Also

Reference

DbSyncColumnDescription Class

Microsoft.Synchronization.Data Namespace