Examples: SizeQuota property
- This agent displays the size quota and warning for the current
database.
Sub Initialize
Dim session As New Notessession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
Messagebox "Size quota = " & db.SizeQuota & Chr(10) & _
"Size warning = " & db.SizeWarning,, db.Title
End Sub
- This agent removes the size quota and warning for the current
database.
Sub Initialize
Dim session As New Notessession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
db.SizeQuota = 0
db.SizeWarning = 0
End Sub
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.