The REPL_DBADDOPTION enum specifies how the new subscription is initialized.

Members

The following table lists the available values for specifying how the new subscription is initialized.

Member name

Value

Description

EXISTING_DATABASE

0

Assumes the SQL Server Compact 3.5 database is already created.

CREATE_DATABASE

1

Causes the SQL Server Compact 3.5 database to be created on the device.

Some types of subscription initialization have been deprecated in SQL Server 2008 R2. For a complete listing see Deprecated Features in SQL Server Replication in SQL Server 2008 R2 Books Online.

Other Resources

Replication Programming (SQL Server Compact)