SqlCeReplication Members

Initializes a new instance of the SqlCeReplication object. For more information about SQL Server replication, see the SQL Server 2005 Books Online. For more information about merge replication with SQL Server Compact Edition, see the SQL Server Compact Edition Books Online.

The following tables list the members exposed by the SqlCeReplication type.

Public Constructors

  Name Description
Public method Supported by the .NET Compact Framework SqlCeReplication Overloaded.  

Top

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework CompressionLevel Specifies the amount of compression that will be used by the compression routines during replication.
Public property Supported by the .NET Compact Framework ConnectionManager Enables the Replication object to use the smart device's Connection Manager API to establish a network connection. The connection is released at the end of synchronization.
Public property Supported by the .NET Compact Framework ConnectionRetryTimeout Specifies how long (in seconds) the SQL Server Compact Edition client will continue to retry sending requests after an established connection has failed.
Public property ConnectTimeout Gets or sets the amount of time, in milliseconds, that the SqlCeReplication object waits for a connection to the server.
Public property Supported by the .NET Compact Framework Distributor Specifies the SQL Server Distributor.
Public property Supported by the .NET Compact Framework DistributorAddress Specifies the network address used when the SQL Server Reconciler is connecting to the Distributor.
Public property Supported by the .NET Compact Framework DistributorLogin Specifies the login name used when connecting to the Distributor.
Public property Supported by the .NET Compact Framework DistributorNetwork Specifies the network protocol used when the SQL Server Reconciler communicates with the Distributor.
Public property Supported by the .NET Compact Framework DistributorPassword Specifies the login password used when connecting to the Distributor.
Public property Supported by the .NET Compact Framework DistributorSecurityMode Specifies the security mode used when connecting to the Distributor.
Public property Supported by the .NET Compact Framework ExchangeType Specifies whether the synchronization between the Publisher and the Subscriber is bi-directional or upload only.
Public property Supported by the .NET Compact Framework HostName Gets or sets the host name used for the device when connecting to the Publisher.
Public property Supported by the .NET Compact Framework InternetLogin Specifies the login name used when connecting to the SQL Server Compact Edition Server Agent.
Public property Supported by the .NET Compact Framework InternetPassword Specifies the password used when connecting to the SQL Server Compact Edition Server Agent.
Public property Supported by the .NET Compact Framework InternetProxyLogin Specifies the login name used when connecting to an InternetProxyServer that requires authentication.
Public property Supported by the .NET Compact Framework InternetProxyPassword Specifies the password used when connecting to an InternetProxyServer that requires authentication.
Public property Supported by the .NET Compact Framework InternetProxyServer Specifies the proxy server to use when accessing the HTTP resource specified in the InternetUrl property.
Public property Supported by the .NET Compact Framework InternetUrl Specifies the URL used to connect to the SQL Server Compact Edition Server Agent.
Public property Supported by the .NET Compact Framework LoginTimeout Specifies the maximum number of seconds to wait for connections to be established. This property affects the connection time between the computer running Internet Information Services (IIS) and the Publisher or Distributor. It does not control the connection time between the smart device and IIS.
Public property Supported by the .NET Compact Framework ProfileName Specifies the name of the agent profile at the Distributor to be used by the SqlCeReplication object.
Public property Supported by the .NET Compact Framework Publication Specifies the SQL Server publication name that has been enabled for SQL Server Compact Edition subscribers.
Public property Supported by the .NET Compact Framework Publisher Specifies the name of the SQL Server Publisher. The Publisher is the computer that is running SQL Server and that contains the publication.
Public property Supported by the .NET Compact Framework PublisherAddress Specifies the network address used when connecting to the Publisher.
Public property Supported by the .NET Compact Framework PublisherChanges Specifies the total number of Publisher changes applied at the Subscriber when the Synchronize method was last called.
Public property Supported by the .NET Compact Framework PublisherConflicts Specifies the total number of conflicts that occurred at the Publisher when the Synchronize method was last called.
Public property Supported by the .NET Compact Framework PublisherDatabase Specifies the name of the publication database.
Public property Supported by the .NET Compact Framework PublisherLogin Specifies the login name used when connecting to the Publisher.
Public property Supported by the .NET Compact Framework PublisherNetwork Specifies the network protocol used when the SQL Server Replication Provider communicates with the Publisher.
Public property Supported by the .NET Compact Framework PublisherPassword Specifies the login password used when connecting to the Publisher.
Public property Supported by the .NET Compact Framework PublisherSecurityMode Specifies the security mode used when connecting to the Publisher.
Public property Supported by the .NET Compact Framework QueryTimeout Specifies the number of seconds allowed for internal queries to complete.
Public property ReceiveTimeout Gets or sets the amount of time, in milliseconds, that the SqlCeReplication object waits for the response to a server request.
Public property SendTimeout Gets or sets the amount of time, in milliseconds, that the SqlCeReplication object waits to send a request to the server.
Public property Supported by the .NET Compact Framework SnapshotTransferType Controls how snapshot files are transferred from the Distributor to the computer running IIS. Snapshot files can be transferred using either the HTTP or the FTP protocol.
Public property Supported by the .NET Compact Framework Subscriber Specifies the name of the Subscriber.
Public property Supported by the .NET Compact Framework SubscriberChanges Specifies the total number of Subscriber changes applied at the Publisher when the Synchronize method was last called.
Public property Supported by the .NET Compact Framework SubscriberConflicts This property is not used by SQL Server Compact Edition.
Public property Supported by the .NET Compact Framework SubscriberConnectionString Specifies the connection string to the SQL Server Compact Edition database.
Public property Supported by the .NET Compact Framework Validate Specifies the type of data validation SQL Server Compact Edition replication performs while synchronizing.

Top

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 Compact Edition 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. (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 SqlCeReplication 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 SqlCeReplication 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 Compact Edition 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