Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 string DatabaseIdentifier { get; }

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.

© 2015 Microsoft