Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 SyncSchemaColumn
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.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | value is a null reference (Nothing in Visual Basic). |