Examples: ProhibitDesignUpdate property
This code toggles the update status of an agent.
Sub Initialize
Dim session As New NotesSession
Dim agent As NotesAgent
Dim db As NotesDatabase
Set db = session.CurrentDatabase
Set agent = db.GetAgent("test")
If agent.ProhibitDesignUpdate Then
agent.ProhibitDesignUpdate = False
Else
agent.ProhibitDesignUpdate = True
End If
agent.Save
End Sub