Dela via


SyncAgent.Dispose Method

Include Protected Members
Include Inherited Members

Releases the resources used by the SyncAgent.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Dispose() Releases all resources used by the SyncAgent.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the SyncAgent, and optionally releases the managed resources.

Top

Remarks

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

See Also

Reference

SyncAgent Class

Microsoft.Synchronization Namespace