Share via


DbSyncProvider Members

Encapsulates a 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

(see also Protected Properties )

  Name Description
Public property BatchingDirectory  Gets or sets the directory in which batch files are spooled to disk.

This property is not CLS-compliant. (Inherited from RelationalSyncProvider.)
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. Obsolete.
Public property CleanupBatchingDirectory  Gets or sets whether to clean up batching files after the changes in the files have been applied to the destination.

This property is not CLS-compliant. (Inherited from RelationalSyncProvider.)
Public property Configuration  Not implemented by RelationalSyncProvider. An exception of type NotSupportedException is thrown if you attempt to access this property.

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

This property is not CLS-compliant. (Inherited from RelationalSyncProvider.)
Public property DestinationCallbacks  Gets an object that a synchronization application can use to register to receive notification of events that occur during synchronization.

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

This property is not CLS-compliant. (Inherited from RelationalSyncProvider.)
Public property MemoryDataCacheSize  Gets or sets the maximum amount of memory (in KB) that Sync Framework uses to cache changes before spooling those changes to disk.

This property is not CLS-compliant. (Inherited from RelationalSyncProvider.)
Public property ScopeName  Gets or sets the name of the scope to synchronize.

This property is not CLS-compliant. (Inherited from RelationalSyncProvider.)
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 SelectOverlappingScopesCommand Gets or sets an IDbCommand object that contains the query or stored procedure that returns the scope name and table name for all tables in the specified scope that are also included in other scopes.

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 SelectTableMaxTimestampsCommand Gets or sets an IDbCommand object that contains the query or stored procedure that selects the maximum timestamp from each base table or tracking table, to determine whether for each table the destination already has all of the changes from the source.

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. (Inherited from RelationalSyncProvider.)
Public property UpdateScopeCleanupTimestampCommand Gets or sets an IDbCommand object that contains the query or stored procedure that updates the scope_cleanup_timestamp column for a particular scope in the scope_info table, to mark the point up to which cleanup has been performed for the scope.

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

Protected Properties

  Name Description
Protected property ScopeCleanupTimestampColName Gets or sets the name the column in the scope information table that contains the timestamp value when the most recent tombstone cleanup was performed for this scope.

This property is not CLS-compliant.
Protected property ScopeForgottenKnowledgeColName Gets or sets the name the column in the scope information table that contains a binary representation of the forgotten knowledge for each scope.

This property is not CLS-compliant.
Protected property ScopeIdColName Gets or sets the name the column in the scope information table that contains an identifier for the scope, typically a GUID.

This property is not CLS-compliant.
Protected property ScopeKnowledgeColName Gets or sets the name the column in the scope information table that contains a binary representation of the synchronization knowledge for each scope.

This property is not CLS-compliant.
Protected property ScopeLocalIdColName Gets or sets the name the column in the scope information table that contains an integer identifier for the scope.

This property is not CLS-compliant.
Protected property ScopeNameColName Gets or sets the name the column in the scope information table that contains the name of the scope.

This property is not CLS-compliant.
Protected property ScopeTimestampColName Gets or sets the name the column in the scope information table that contains the timestamp value when the metadata row was last updated.

This property is not CLS-compliant.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method BeginSession  (Inherited from RelationalSyncProvider.)
Public method CleanupMetadata Removes change tracking metadata from the database and updates the cleanup knowledge to reflect the point where the cleanup process stopped. This enables outdated nodes to be identified.

This method is not CLS-compliant.
Public method Dispose  Overloaded. Releases the resources that are used by the RelationalSyncProvider.(Inherited from RelationalSyncProvider.)
Public method EndSession  (Inherited from RelationalSyncProvider.)
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetChangeBatch  (Inherited from RelationalSyncProvider.)
Public method GetFullEnumerationChangeBatch  (Inherited from RelationalSyncProvider.)
Public method GetHashCode  (Inherited from Object.)
Public method GetScopeDescription Returns a DbSyncScopeDescription object that contains the schema for the tables that are in the SyncAdapters collection.

This method is not CLS-compliant.
Public method GetSyncBatchParameters  (Inherited from RelationalSyncProvider.)
Public method GetType  (Inherited from Object.)
Public method ProcessChangeBatch  (Inherited from RelationalSyncProvider.)
Public method ProcessFullEnumerationChangeBatch  (Inherited from RelationalSyncProvider.)
Public method Cc761629.static(en-us,SQL.105).gif ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method CreateApplicationTransaction  When overridden in a derived class, enables an explicit transaction to be created in which to apply changes to an Oracle database.

This method is not CLS-compliant. (Inherited from RelationalSyncProvider.)
Protected method CreateEnumerationTransaction  When overridden in a derived class, enables an explicit transaction to be created in which to enumerate changes from an Oracle database.

This method is not CLS-compliant. (Inherited from RelationalSyncProvider.)
Protected method Dispose  Overloaded. (Inherited from RelationalSyncProvider.)
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)
Protected method OnApplyChangeFailed  (Inherited from RelationalSyncProvider.)
Protected method OnApplyingChanges  (Inherited from RelationalSyncProvider.)
Protected method OnApplyMetadataFailed  (Inherited from RelationalSyncProvider.)
Protected method OnChangesApplied  (Inherited from RelationalSyncProvider.)
Protected method OnChangesSelected  (Inherited from RelationalSyncProvider.)
Protected method OnPeerOutdated  (Inherited from RelationalSyncProvider.)
Protected method OnSelectingChanges  (Inherited from RelationalSyncProvider.)
Protected method OnSyncProgress  (Inherited from RelationalSyncProvider.)

Top

Public Events

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

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

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

This event is not CLS-compliant. (Inherited from RelationalSyncProvider.)
Public event BatchApplied  Occurs after each batch of changes has been applied to the destination.

This event is not CLS-compliant. (Inherited from RelationalSyncProvider.)
Public event BatchSpooled  Occurs after each batch of changes has been written to disk.

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

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

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

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

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

This event is not CLS-compliant. (Inherited from RelationalSyncProvider.)

Top

See Also

Reference

DbSyncProvider Class
Microsoft.Synchronization.Data Namespace