次のスクリプトは、現在のデータベースの複製履歴を消去します。
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()