Share via


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
public bool CreateDatabaseIfNotExists { get; set; }
public:
property bool CreateDatabaseIfNotExists {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_CreateDatabaseIfNotExists ()

/** @property */
public void set_CreateDatabaseIfNotExists (boolean value)
public function get CreateDatabaseIfNotExists () : boolean

public function set CreateDatabaseIfNotExists (value : boolean)

Property Value

true to create the client database if it does not exist; false not to create it.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

SqlCeClientSyncProvider Class
SqlCeClientSyncProvider Members
Microsoft.Synchronization.Data.SqlServerCe Namespace