Share via


SyncSchemaColumn.AutoIncrement Property

Gets or sets a value indicating whether the column automatically increments its value when new rows are inserted into the table.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
Public Property AutoIncrement As Boolean
public bool AutoIncrement { get; set; }
public:
property bool AutoIncrement {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_AutoIncrement ()

/** @property */
public void set_AutoIncrement (boolean value)
public function get AutoIncrement () : boolean

public function set AutoIncrement (value : boolean)

Property Value

true if the column automatically increments its value; otherwise, false.

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