SqlCeReplication Members

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

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

Public Constructors

  Name Description
SqlCeReplication Overloaded.  

Top

Public Properties

  Name Description
4s44ce78.pubproperty(en-us,VS.90).gif CompressionLevel Specifies the amount of compression that will be used by the compression routines during replication.
4s44ce78.pubproperty(en-us,VS.90).gif 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.
4s44ce78.pubproperty(en-us,VS.90).gif ConnectionRetryTimeout Specifies how long (in seconds) the SQL Server Compact 3.5 SP1 client will continue to retry sending requests after an established connection has failed.
4s44ce78.pubproperty(en-us,VS.90).gif ConnectTimeout Gets or sets the amount of time, in milliseconds, that the SqlCeReplication object waits for a connection to the server.
4s44ce78.pubproperty(en-us,VS.90).gif Distributor Specifies the SQL Server Distributor.
4s44ce78.pubproperty(en-us,VS.90).gif DistributorAddress Specifies the network address used when the SQL Server Reconciler is connecting to the Distributor.
4s44ce78.pubproperty(en-us,VS.90).gif DistributorLogin Specifies the login name used when connecting to the Distributor.
4s44ce78.pubproperty(en-us,VS.90).gif DistributorNetwork Specifies the network protocol used when the SQL Server Reconciler communicates with the Distributor.
4s44ce78.pubproperty(en-us,VS.90).gif DistributorPassword Specifies the login password used when connecting to the Distributor.
4s44ce78.pubproperty(en-us,VS.90).gif DistributorSecurityMode Specifies the security mode used when connecting to the Distributor.
4s44ce78.pubproperty(en-us,VS.90).gif ExchangeType Specifies whether the synchronization between the Publisher and the Subscriber is bi-directional or upload only.
4s44ce78.pubproperty(en-us,VS.90).gif HostName Gets or sets the host name used for the device when connecting to the Publisher.
4s44ce78.pubproperty(en-us,VS.90).gif InternetLogin Specifies the login name used when connecting to the SQL Server Compact 3.5 SP1 Server Agent.
4s44ce78.pubproperty(en-us,VS.90).gif InternetPassword Specifies the password used when connecting to the SQL Server Compact 3.5 SP1 Server Agent.
4s44ce78.pubproperty(en-us,VS.90).gif InternetProxyLogin Specifies the login name used when connecting to an InternetProxyServer that requires authentication.
4s44ce78.pubproperty(en-us,VS.90).gif InternetProxyPassword Specifies the password used when connecting to an InternetProxyServer that requires authentication.
4s44ce78.pubproperty(en-us,VS.90).gif InternetProxyServer Specifies the proxy server to use when accessing the HTTP resource specified in the InternetUrl property.
4s44ce78.pubproperty(en-us,VS.90).gif InternetUrl Specifies the URL used to connect to the SQL Server Compact 3.5 SP1 Server Agent.
4s44ce78.pubproperty(en-us,VS.90).gif 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.
4s44ce78.pubproperty(en-us,VS.90).gif PostSyncCleanup  
4s44ce78.pubproperty(en-us,VS.90).gif ProfileName Specifies the name of the agent profile at the Distributor to be used by the SqlCeReplication object.
4s44ce78.pubproperty(en-us,VS.90).gif Publication Specifies the SQL Server publication name that has been enabled for SQL Server Compact 3.5 SP1 subscribers.
4s44ce78.pubproperty(en-us,VS.90).gif Publisher Specifies the name of the SQL Server Publisher. The Publisher is the computer that is running SQL Server and that contains the publication.
4s44ce78.pubproperty(en-us,VS.90).gif PublisherAddress Specifies the network address used when connecting to the Publisher.
4s44ce78.pubproperty(en-us,VS.90).gif PublisherChanges Specifies the total number of Publisher changes applied at the Subscriber when the Synchronize method was last called.
4s44ce78.pubproperty(en-us,VS.90).gif PublisherConflicts Specifies the total number of conflicts that occurred at the Publisher when the Synchronize method was last called.
4s44ce78.pubproperty(en-us,VS.90).gif PublisherDatabase Specifies the name of the publication database.
4s44ce78.pubproperty(en-us,VS.90).gif PublisherLogin Specifies the login name used when connecting to the Publisher.
4s44ce78.pubproperty(en-us,VS.90).gif PublisherNetwork Specifies the network protocol used when the SQL Server Replication Provider communicates with the Publisher.
4s44ce78.pubproperty(en-us,VS.90).gif PublisherPassword Specifies the login password used when connecting to the Publisher.
4s44ce78.pubproperty(en-us,VS.90).gif PublisherSecurityMode Specifies the security mode used when connecting to the Publisher.
4s44ce78.pubproperty(en-us,VS.90).gif QueryTimeout Specifies the number of seconds allowed for internal queries to complete.
4s44ce78.pubproperty(en-us,VS.90).gif ReceiveTimeout Gets or sets the amount of time, in milliseconds, that the SqlCeReplication object waits for the response to a server request.
4s44ce78.pubproperty(en-us,VS.90).gif SendTimeout Gets or sets the amount of time, in milliseconds, that the SqlCeReplication object waits to send a request to the server.
4s44ce78.pubproperty(en-us,VS.90).gif 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.
4s44ce78.pubproperty(en-us,VS.90).gif Subscriber Specifies the name of the Subscriber.
4s44ce78.pubproperty(en-us,VS.90).gif SubscriberChanges Specifies the total number of Subscriber changes applied at the Publisher when the Synchronize method was last called.
4s44ce78.pubproperty(en-us,VS.90).gif SubscriberConflicts This property is not used by SQL Server Compact 3.5 SP1.
4s44ce78.pubproperty(en-us,VS.90).gif SubscriberConnectionString Specifies the connection string to the SQL Server Compact 3.5 SP1 database.
4s44ce78.pubproperty(en-us,VS.90).gif Validate Specifies the type of data validation SQL Server Compact 3.5 SP1 replication performs while synchronizing.

Top

Public Methods

(see also Protected Methods )

  Name Description
4s44ce78.pubmethod(en-us,VS.90).gif 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.
4s44ce78.pubmethod(en-us,VS.90).gif BeginSynchronize Overloaded. Starts an asynchronous data synchronization.
4s44ce78.pubmethod(en-us,VS.90).gif CancelSynchronize Cancels an ongoing asynchronous data synchronization that was started by calling the BeginSynchronize method.
4s44ce78.pubmethod(en-us,VS.90).gif Dispose Releases all native resources.
4s44ce78.pubmethod(en-us,VS.90).gif DropSubscription Drops the subscription to a SQL Server publication and optionally deletes the SQL Server Compact 3.5 SP1 database from the Windows Mobile-based device.
4s44ce78.pubmethod(en-us,VS.90).gif EndSynchronize Ends an asynchronous data synchronization that was started by a call to the BeginSynchronize method.
4s44ce78.pubmethod(en-us,VS.90).gif Equals  Overloaded. (inherited from Object )
4s44ce78.pubmethod(en-us,VS.90).gif GetHashCode  (inherited from Object )
4s44ce78.pubmethod(en-us,VS.90).gif GetType  (inherited from Object )
4s44ce78.pubmethod(en-us,VS.90).gif LoadProperties Retrieves all values stored for the synchronization properties, and then populates the SqlCeReplication class properties with these saved values.
4s44ce78.pubmethod(en-us,VS.90).gif 4s44ce78.static(en-us,VS.90).gif ReferenceEquals  (inherited from Object )
4s44ce78.pubmethod(en-us,VS.90).gif 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.
4s44ce78.pubmethod(en-us,VS.90).gif SaveProperties Retrieves all of the values stored in the SqlCeReplication class properties for the current subscription and stores them in a system table.
4s44ce78.pubmethod(en-us,VS.90).gif Synchronize Invokes merge replication between the SQL Server Compact 3.5 SP1 subscription and the SQL Server Publisher.
4s44ce78.pubmethod(en-us,VS.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
4s44ce78.protmethod(en-us,VS.90).gif Finalize  (inherited from Object )
4s44ce78.protmethod(en-us,VS.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

SqlCeReplication Class
System.Data.SqlServerCe Namespace