DatabaseSchemaUpdater.DatabaseSchemaVersion Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Get or sets the version of the corresponding local database schema.

Namespace:  Microsoft.Phone.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

Syntax

Public Property DatabaseSchemaVersion As Integer
public int DatabaseSchemaVersion { get; set; }

Property Value

Type: System..::.Int32
the version of the corresponding local database schema.

Remarks

This property is automatically set to 0 when the database is created.

For information about using a local database in your Windows Phone application, see Local database for Windows Phone 8.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

DatabaseSchemaUpdater Class

Microsoft.Phone.Data.Linq Namespace