Udostępnij za pośrednictwem


DbServerSyncProvider Members

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

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

Public Constructors

  Name Description
DbServerSyncProvider Initializes a new instance of the DbServerSyncProvider class.

Top

Public Properties

  Name Description
Bb686878.pubproperty(en-US,SQL.90).gif BatchSize Gets or sets the batch size (in rows) that is used by commands that retrieve changes from the server database.
Bb686878.pubproperty(en-US,SQL.90).gif Connection Gets or sets an IDbConnection object that is used to connect to the server database.
Bb686878.pubproperty(en-US,SQL.90).gif Schema Gets or sets a SyncSchema object that contains information about the table schema on the server.
Bb686878.pubproperty(en-US,SQL.90).gif SelectClientIdCommand Gets or sets an IDbCommand object that contains the query or stored procedure that returns originator IDs from the server database.
Bb686878.pubproperty(en-US,SQL.90).gif SelectNewAnchorCommand Gets or sets an IDbCommand object that contains the query or stored procedure that returns a new anchor value from the server database. The anchor defines the upper bound for the set of changes to be synchronized during the current session.
Bb686878.pubproperty(en-US,SQL.90).gif SyncAdapters Gets the SyncAdapterCollection that is associated with the DbServerSyncProvider.

Top

Public Methods

(see also Protected Methods )

  Name Description
Bb686878.pubmethod(en-US,SQL.90).gif ApplyChanges Overridden. Applies inserts, updates, and deletes for a synchronization group to the server database.
Bb686878.pubmethod(en-US,SQL.90).gif Dispose Overloaded. Overridden. Releases the resources used by the DbServerSyncProvider.
Bb686878.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
Bb686878.pubmethod(en-US,SQL.90).gif GetChanges Overridden. Selects for a table in the server database the inserts, updates, and deletes to apply to the client database for a synchronization group.
Bb686878.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
Bb686878.pubmethod(en-US,SQL.90).gif GetSchema Overridden. Returns a SyncSchema object that contains the schema for each table specified.
Bb686878.pubmethod(en-US,SQL.90).gif GetServerInfo Overridden. Gets a SyncServerInfo object when give a session parameter.
Bb686878.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
Bb686878.pubmethod(en-US,SQL.90).gif Bb686878.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
Bb686878.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
Bb686878.protmethod(en-US,SQL.90).gif Dispose Overloaded. Releases the resources used by the DbServerSyncProvider.
Bb686878.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
Bb686878.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )
Bb686878.protmethod(en-US,SQL.90).gif OnApplyChangeFailed Raises the ApplyChangeFailed event.
Bb686878.protmethod(en-US,SQL.90).gif OnApplyingChanges Raises the ApplyingChanges event.
Bb686878.protmethod(en-US,SQL.90).gif OnChangesApplied Raises the ChangesApplied event.
Bb686878.protmethod(en-US,SQL.90).gif OnChangesSelected Raises the ChangesSelected event.
Bb686878.protmethod(en-US,SQL.90).gif OnSelectingChanges Raises the SelectingChanges event.
Bb686878.protmethod(en-US,SQL.90).gif OnSyncProgress Raises the SyncProgress event.

Top

Public Events

  Name Description
Bb686878.pubevent(en-US,SQL.90).gif ApplyChangeFailed Occurs after a row fails to be applied at the server.
Bb686878.pubevent(en-US,SQL.90).gif ApplyingChanges Occurs before changes are applied at the server for a synchronization group.
Bb686878.pubevent(en-US,SQL.90).gif ChangesApplied Occurs after all changes are applied at the server for a synchronization group.
Bb686878.pubevent(en-US,SQL.90).gif ChangesSelected Occurs after all changes to be applied to the client for a synchronization group are selected from the server.
Bb686878.pubevent(en-US,SQL.90).gif SelectingChanges Occurs before all changes to be applied to the client for a synchronization group are selected from the server.
Bb686878.pubevent(en-US,SQL.90).gif SyncProgress Occurs during the selection and application of changes for a synchronization group at the server.

Top

See Also

Reference

DbServerSyncProvider Class
Microsoft.Synchronization.Data.Server Namespace