How To Use Soft Deletion Throgh Lotus Script

Hi All, I want to set the Database Soft Deletion Time. Is there any class which helps me to set the soft deletion time throug lotus script.

Please guide me.

Subject: How To Use Soft Deletion Throgh Lotus Script

Hi all, I Got The Answer

Dim session As New NotesSession

Dim db As Notesdatabase

Set db = session.CurrentDatabase

Dim udoc As NotesDocument

Set udoc=session.DocumentContext

stime=udoc.txttime(0)



Call db.SetOption(DBOPT_SOFTDELETE,True)

db.UndeleteExpireTime=  Cint(stime)

Thanks for Support