SyncAgent::Dispose Method (Boolean)

Releases the unmanaged resources used by the SyncAgent, and optionally releases the managed resources.

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

protected:
virtual void Dispose(
	bool disposing
)

Parameters

disposing
Type: System::Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources.

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: