Share via


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)

Syntax

'Declaration
Public ReadOnly Property DatabaseIdentifier As String
    Get
'Usage
Dim instance As SqlCeConnection
Dim value As String

value = instance.DatabaseIdentifier
public string DatabaseIdentifier { get; }
public:
property String^ DatabaseIdentifier {
    String^ get ();
}
member DatabaseIdentifier : string
function get DatabaseIdentifier () : String

Property Value

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

Remarks

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

See Also

Reference

SqlCeConnection Class

SqlCeConnection Members

System.Data.SqlServerCe Namespace