DbSyncProvider Members

Abstracts a generic peer synchronization provider that communicates with a peer database and shields the synchronization agent from the specific implementation of the database.

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

Public Constructors

  Name Description
Public method DbSyncProvider Initializes a new instance of the DbSyncProvider class.

This constructor is not CLS-compliant.

Top

Public Properties

  Name Description
Public property ChangeTracking Gets or sets a ChangeTrackingModel enumeration value that specifies the type of change tracking that is used in all peer databases.

This property is not CLS-compliant.
Public property Configuration  (Inherited from KnowledgeSyncProvider.)
Public property Connection Gets or sets an IDbConnection object that is used to connect to the peer database.

This property is not CLS-compliant.
Public property DestinationCallbacks  (Inherited from KnowledgeSyncProvider.)
Public property IdFormats Overridden. Gets a SyncIdFormatGroup object that is used to identify entities in a synchronization session.

This property is not CLS-compliant.
Public property ScopeName Gets or sets the name of the scope to synchronize.

This property is not CLS-compliant.
Public property SelectNewTimestampCommand Gets or sets an IDbCommand object that contains the query or stored procedure that returns a new timestamp value from the peer database. The timestamp defines the upper bound for the set of changes to be synchronized during the current session.

This property is not CLS-compliant.
Public property SelectScopeInfoCommand Gets or sets an IDbCommand object that contains the query or stored procedure that returns scope metadata from the peer database.

This property is not CLS-compliant.
Public property SyncAdapters Gets the DbSyncAdapterCollection that is associated with the DbSyncProvider object.

This property is not CLS-compliant.
Public property SyncProviderPosition Gets or sets a SyncProviderPosition enumeration value that represents whether a provider is associated with the local or remote database.

This property is not CLS-compliant.
Public property UpdateScopeInfoCommand Gets or sets an IDbCommand object that contains the query or stored procedure that updates scope metadata in the peer database.

This property is not CLS-compliant.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method BeginSession Overridden. Begins a synchronization session when given synchronization provider position and session context parameters.

This method is not CLS-compliant.
Public method CleanupMetadata Removes change tracking data from the peer database.

This method is not CLS-compliant.
Public method Dispose Overloaded. Releases the resources that are used by the DbSyncProvider.
Public method EndSession Overridden. Ends a synchronization session when given a session context parameter.

This method is not CLS-compliant.
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetChangeBatch Overridden. Gets a batch of changes to synchronize when given batch size, destination knowledge, and change data retriever parameters.

This method is not CLS-compliant.
Public method GetFullEnumerationChangeBatch Overridden. Gets a batch of changes to synchronize when given batch size, lower bound, knowledge, and change data retriever parameters.

This method is not CLS-compliant.
Public method GetHashCode  (Inherited from Object.)
Public method GetSyncBatchParameters Overridden. Get the parameters for the change batch when given batch size and knowledge parameters.

This method is not CLS-compliant.
Public method GetType  (Inherited from Object.)
Public method ProcessChangeBatch Overridden. Processes a batch of changes when given resolution policy, source changes, change data retriever, callback, and statistics parameters.

This method is not CLS-compliant.
Public method ProcessFullEnumerationChangeBatch Overridden. Processes a batch of changes when given resolution policy, source changes, change data retriever, callback, and statistics parameters.

This method is not CLS-compliant.
Public method Static ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Dispose Overloaded. Releases the resources that are used by the DbSyncProvider.
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)
Protected method OnApplyChangeFailed Raises the ApplyChangeFailed event.

This method is not CLS-compliant.
Protected method OnApplyingChanges Raises the ApplyingChanges event.

This method is not CLS-compliant.
Protected method OnApplyMetadataFailed Raises the ApplyMetadataFailed event.

This method is not CLS-compliant.
Protected method OnChangesApplied Raises the ChangesApplied event.

This method is not CLS-compliant.
Protected method OnChangesSelected Raises the ChangesSelected event.

This method is not CLS-compliant.
Protected method OnPeerOutdated Raises the SyncPeerOutdated event.

This method is not CLS-compliant.
Protected method OnSelectingChanges Raises the SelectingChanges event.

This method is not CLS-compliant.
Protected method OnSyncProgress Raises the SyncProgress event.

This method is not CLS-compliant.

Top

Public Events

  Name Description
Public event ApplyChangeFailed Occurs during uploading, after failing to apply a row at a peer.

This event is not CLS-compliant.
Public event ApplyingChanges Occurs during uploading, after connecting to the database but before applying changes.

This event is not CLS-compliant.
Public event ApplyMetadataFailed Occurs during uploading, after failing to apply metadata for a row.

This event is not CLS-compliant.
Public event ChangesApplied Occurs during uploading, after applying changes but before disconnecting from the database.

This event is not CLS-compliant.
Public event ChangesSelected Occurs during downloading, after enumerating changes but before disconnecting from the database.

This event is not CLS-compliant.
Public event SelectingChanges Occurs during downloading, after connecting to the database but before selecting changes.

This event is not CLS-compliant.
Public event SyncPeerOutdated Occurs before enumeration of changes if the destination node is outdated.

This event is not CLS-compliant.
Public event SyncProgress Occurs during the selection of changes (per table) and the application of changes (per row).

This event is not CLS-compliant.

Top

See Also

Reference

DbSyncProvider Class
Microsoft.Synchronization.Data Namespace