Share via


SyncAgent Members

The SyncAgent object orchestrates synchronization.

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

Public Constructors

  Name Description
SyncAgent Overloaded. Initializes a new instance of the SyncAgent class.

Top

Public Properties

  Name Description
Bb734574.pubproperty(en-US,SQL.90).gif Configuration Gets a SyncConfiguration object that contains information about tables and synchronization parameters.
Bb734574.pubproperty(en-US,SQL.90).gif LocalProvider Gets or sets an object derived from ClientSyncProvider that is used to communicate with the local data store.
Bb734574.pubproperty(en-US,SQL.90).gif RemoteProvider Gets or sets an object derived from ServerSyncProvider that is used to communicate with the remote data store.
Bb734574.pubproperty(en-US,SQL.90).gif SessionState Gets or sets a SyncSessionState object that is used to define whether the session is currently synchronizing.
Bb734574.pubproperty(en-US,SQL.90).gif SyncStatistics Gets a SyncStatistics object that represents statistics for a synchronization session.

Top

Public Methods

(see also Protected Methods )

  Name Description
Bb734574.pubmethod(en-US,SQL.90).gif Dispose Overloaded. Releases the resources used by the SyncAgent.
Bb734574.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
Bb734574.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
Bb734574.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
Bb734574.pubmethod(en-US,SQL.90).gif Bb734574.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
Bb734574.pubmethod(en-US,SQL.90).gif Synchronize Synchronizes data between the local and remote data stores.
Bb734574.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
Bb734574.protmethod(en-US,SQL.90).gif Dispose Overloaded. Releases the resources used by the SyncAgent.
Bb734574.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
Bb734574.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )
Bb734574.protmethod(en-US,SQL.90).gif OnSessionProgress Raises the SessionProgress event.
Bb734574.protmethod(en-US,SQL.90).gif OnSessionStateChanged Raises the StateChanged event.

Top

Public Events

  Name Description
Bb734574.pubevent(en-US,SQL.90).gif SessionProgress Occurs during synchronization: after metadata is read at the client, after metadata is written, after changes are downloaded, and after changes are uploaded.
Bb734574.pubevent(en-US,SQL.90).gif StateChanged Occurs when there is a change in the synchronization session state.

Top

See Also

Reference

SyncAgent Class
Microsoft.Synchronization Namespace