SyncSchemaColumn.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
public string DefaultValue { get; set; }
public:
property String^ DefaultValue {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_DefaultValue ()

/** @property */
public void set_DefaultValue (String value)
public function get DefaultValue () : String

public function set DefaultValue (value : String)

Property Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

SyncSchemaColumn Class
SyncSchemaColumn Members
Microsoft.Synchronization.Data Namespace