Share via


SimpleSyncProvider.EndSession Method

When overridden in a derived class, called by the Sync Framework runtime at the end of each session unless a session is terminated because of an exception.

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

Syntax

'Declaration
Public MustOverride Sub EndSession
'Usage
Dim instance As SimpleSyncProvider

instance.EndSession()
public abstract void EndSession()
public:
virtual void EndSession() abstract
abstract EndSession : unit -> unit 
public abstract function EndSession()

Remarks

Perform any required cleanup in this method, such as closing the metadata store.

See Also

Reference

SimpleSyncProvider Class

Microsoft.Synchronization.SimpleProviders Namespace