Microsoft Operations Manager |
The SetGroomAgemethod sets the groom age setting (in the registry) for the PagerJobQueueobject.
[VBScript]
PagerJobQueue.SetGroomAge(lngAgeInDays Long)
Boolean
The range setting determines the age at which sent and failed pages will be deleted from their respective folders in the OnePoint\ModemPaging directory.
The following example shows how to set the PagerJobQueueobject to delete sent or failed messages after 60 days.
[VBScript]
Dim objPagerJobQueue, blnOK
Set objPagerJobQueue = CreateObject("OPScrUtil.PagerJobQueue")
blnOK = objPagerJobQueue.SetGroomAge(60)
Set objPagerJobQueue = Nothing
Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1
Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.