SqlCeConnection.DatabaseIdentifier Property

Gets the unique identifier of the current database while synchronizing.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

function get DatabaseIdentifier () : String

Property Value

Type: System.String
The unique identifier of the current database.

Each database file has a unique identifier. In case of copies of a database in different directories, unique identifier will be different.