Dennis' Domino Blog
« Secunia PSI makes patching insecure programs easy for all6.5.4 EOS extended »

The admin doing dev again: clear all replication histories

Permalink 10/22/08 14:33, by Dennis van Remortel, Categories: Administration, Lotus, Development
Not difficult, not interesting, not pretty but I thought I'd share it anyway
Sub Initialize On Error Resume Next Dim Svrname As String Svrname = "Server/ORG" Dim dbdir As New notesdbdirectory(Svrname) Dim DB As NotesDatabase Dim rep As NotesReplication Set DB = dbdir.getfirstdatabase(database) While Not(DB Is Nothing) Call db.Open("","") Set rep = db.ReplicationInfo Call rep.ClearHistory() Call rep.Save() Set DB = dbdir.getnextdatabase Wend End Sub
ls2html was brought to you by nsftools.com

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
What Lotus product is discussed mainly here? The answer is domino
antispam test
Yet another Domino/Websphere Admin blog.

About me:
Lotus Notes/Domino Admin
Websphere Commerce Admin
sceptic
critic



Search

XML Feeds

Planet Lotus

blogtool

©2012 by Dennis van Remortel

Contact | Blog template by Asevo | blog engine | cheap hosting | adsense