SyncAgent::Dispose Method

Releases all resources used by the SyncAgent.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

public:
virtual void Dispose() sealed

Implements

IDisposable::Dispose()

In Synchronization Services for ADO.NET 1.0, calling this method on a SyncAgent object in turn calls the client provider Dispose method and server provider Dispose method. In Sync Framework, you must call these methods explicitly if you want to dispose of these objects.

Show: