SqlCeReplication Methods

The SqlCeReplication type exposes the following members.

  Name Description
Public method AddSubscription Creates a new anonymous subscription to an existing SQL Server publication. After calling the AddSubscription method, the application must call the Synchronize method to synchronize the new subscription to the publication based on the latest snapshot.
Public method BeginSynchronize(AsyncCallback, Object) Starts an asynchronous data synchronization operation. When synchronization ends, the AsyncCallback delegates are called. During synchronization, no status reporting is performed.
Public method BeginSynchronize(AsyncCallback, OnStartTableUpload, OnStartTableDownload, OnSynchronization, Object) Starts an asynchronous data synchronization operation. When the synchronization ends, the AsyncCallback delegates are called. During the synchronization, synchronization status reports are sent to the SyncStatusReport delegates.
Public method CancelSynchronize Cancels an ongoing asynchronous data synchronization that was started by calling the BeginSynchronize method.
Public method Dispose Releases all native resources.
Public method DropSubscription Drops the subscription to a SQL Server publication and optionally deletes the SQL Server Compact database from the Windows Mobile-based device.
Public method EndSynchronize Ends an asynchronous data synchronization that was started by a call to the BeginSynchronize method.
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Public method LoadProperties Retrieves all values stored for the synchronization properties, and then populates the SqlCeReplication class properties with these saved values.
Protected method MemberwiseClone (inherited from Object)
Public method ReinitializeSubscription Marks a subscription for reinitialization. After calling this method, an application must call the Synchronize method to download the latest snapshot of the publication to the device.
Public method SaveProperties Retrieves all of the values stored in the SqlCeReplication class properties for the current subscription and stores them in a system table.
Public method Synchronize Invokes merge replication between the SQL Server Compact subscription and the SQL Server Publisher.
Public method ToString (inherited from Object)
Top
Show: