Share via


SyncAgent.Dispose Method ()

Releases all resources used by the SyncAgent.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As SyncAgent

instance.Dispose
public void Dispose ()
public:
virtual void Dispose () sealed
public final void Dispose ()
public final function Dispose ()

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 server provider Dispose method. In Sync Services for ADO.NET 2.0, you must call these methods explicitly if you want to dispose of these objects.

See Also

Reference

SyncAgent Class
SyncAgent Members
Microsoft.Synchronization Namespace