SqlCeReplication Methods

Public Methods

(see also Protected Methods )

  Name Description
Public method Supported by the .NET Compact Framework AddSubscription Creates a new anonymous subscription to an existing Microsoft 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 Supported by the .NET Compact Framework BeginSynchronize Overloaded. Starts an asynchronous data synchronization.
Public method Supported by the .NET Compact Framework CancelSynchronize Cancels an ongoing asynchronous data synchronization that was started by calling the BeginSynchronize method.
Public method Supported by the .NET Compact Framework Dispose Releases all native resources.
Public method Supported by the .NET Compact Framework DropSubscription Drops the subscription to a SQL Server publication and optionally deletes the SQL Server Mobile database from the Windows Mobile-based device.
Public method Supported by the .NET Compact Framework EndSynchronize Ends an asynchronous data synchronization that was started by a call to the BeginSynchronize method.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework LoadProperties Retrieves all values stored for the synchronization properties, and then populates the Replication class properties with these saved values.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework SaveProperties Retrieves all of the values stored in the Replication class properties for the current subscription and stores them in a system table.
Public method Supported by the .NET Compact Framework Synchronize Invokes merge replication between the SQL Server Mobile subscription and the SQL Server Publisher.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)

Top

See Also

Reference

SqlCeReplication Class
System.Data.SqlServerCe Namespace