The following table lists and describes the methods that the Replication object supports.
Method |
Description |
---|---|
Creates a new subscription to an existing Microsoft SQL Server publication. |
|
Drops the subscription to a SQL Server publication and optionally deletes the Microsoft SQL Server Compact 3.5 database from the device. |
|
Marks a subscription for reinitialization. |
|
Initializes merge replication. |
|
Opens a connection to the SQL Server Compact 3.5 database, confirms the Publisher Property (Replication), Publication Property (Replication), and Subscriber Property (Replication), and then invokes synchronization between the SQL Server Compact 3.5 subscriber and SQL Server publisher. |
|
Finishes merge replication and closes the connection to the SQL Server Compact 3.5 database. |
|
Cancels a currently-running synchronization. |