DbPeerSyncProvider Members
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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 DbPeerSyncProvider type.
Public Constructors
Name | Description | |
---|---|---|
DbPeerSyncProvider | Initializes a new instance of the DbPeerSyncProvider class. |
Top
Public Properties
Name | Description | |
---|---|---|
ChangeTracking | Gets or sets a ChangeTrackingModel enumeration value that specifies the type of change tracking that is used in all peer databases. | |
Connection | Gets or sets an IDbConnection object that is used to connect to the peer database. | |
ScopeName | Gets or sets the name of the scope to synchronize. | |
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. | |
SelectScopeInfoCommand | Gets or sets an IDbCommand object that contains the query or stored procedure that returns scope metadata from the peer database. | |
SyncAdapters | Gets the PeerDataSyncAdapterCollection that is associated with the DbPeerSyncProvider object. | |
UpdateScopeInfoCommand | Gets or sets an IDbCommand object that contains the query or stored procedure that updates scope metadata in the peer database. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
ApplyChanges | Overridden. Applies inserts, updates, and deletes for a synchronization scope to a peer database. | |
CleanupMetadata | Removes change tracking data from the peer database. | |
Dispose | Overloaded. Releases the resources that are used by the DbPeerSyncProvider. | |
Equals | Overloaded. (Inherited from Object.) | |
GetChanges | Overridden. Selects from a peer database the incremental inserts, updates, and deletes to be applied at the other peer for every table in a synchronization scope. | |
GetHashCode | (Inherited from Object.) | |
GetScope | Overridden. Gets scope information for the synchronization session. | |
GetType | (Inherited from Object.) | |
ReferenceEquals | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Protected Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. | |
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnApplyChangeFailed | Raises the ApplyChangeFailed event. | |
OnApplyingChanges | Raises the ApplyingChanges event. | |
OnApplyMetadataFailed | Raises the ApplyMetadataFailed event. | |
OnChangesApplied | Raises the ChangesApplied event. | |
OnChangesSelected | Raises the ChangesSelected event. | |
OnPeerOutdated | Raises the PeerOutdated event. | |
OnSelectingChanges | Raises the SelectingChanges event. | |
OnSyncProgress | Raises the SyncProgress event. |
Top
Public Events
Name | Description | |
---|---|---|
ApplyChangeFailed | Occurs during uploading, after failing to apply a row at a peer. | |
ApplyingChanges | Occurs during uploading, after connecting to the database but before applying changes. | |
ApplyMetadataFailed | Occurs during uploading, after failing to apply metadata for a row. | |
ChangesApplied | Occurs during uploading, after applying changes but before disconnecting from the database. | |
ChangesSelected | Occurs during downloading, after enumerating changes but before disconnecting from the database. | |
SelectingChanges | Occurs during downloading, after connecting to the database but before selecting changes. | |
SyncPeerOutdated | Occurs before enumeration of changes if the destination node is outdated. | |
SyncProgress | Occurs during the selection of changes (per table) and the application of changes (per row). |
Top
See Also
Reference
DbPeerSyncProvider Class
Microsoft.Synchronization.Data.Peer Namespace