SqlCeClientSyncProvider.CreateDatabaseIfNotExists Property

Gets or sets whether to create the client database if it does not exist.

Namespace:  Microsoft.Synchronization.Data.SqlServerCe
Assembly:  Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Property CreateDatabaseIfNotExists As Boolean
    Get
    Set
'Usage
Dim instance As SqlCeClientSyncProvider
Dim value As Boolean

value = instance.CreateDatabaseIfNotExists

instance.CreateDatabaseIfNotExists = value
public bool CreateDatabaseIfNotExists { get; set; }
public:
property bool CreateDatabaseIfNotExists {
    bool get ();
    void set (bool value);
}
member CreateDatabaseIfNotExists : bool with get, set
function get CreateDatabaseIfNotExists () : boolean
function set CreateDatabaseIfNotExists (value : boolean)

Property Value

Type: System.Boolean
true to create the client database if it does not exist; false not to create it.

See Also

Reference

SqlCeClientSyncProvider Class

Microsoft.Synchronization.Data.SqlServerCe Namespace