DatabaseIdentifier Property
Collapse the table of content
Expand the table of content

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)

Public ReadOnly Property DatabaseIdentifier As String
Dim instance As SqlCeConnection
Dim value As String

value = instance.DatabaseIdentifier

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.

© 2016 Microsoft