Examples: ClearHistory method

This script clears the replication history of the current database.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim rep As NotesReplication
Set db = session.CurrentDatabase
Set rep = db.ReplicationInfo
Call db.Replicate("Xanadu")
Call rep.ClearHistory()
Call rep.Save()