Microsoft Operations Manager

SetPagerService Method

The SetPagerServicemethod sets the default paging service as specified in the registry.

[VBScript]
PagerJobQueue.SetPagerService(strPagerService String)

Parameters

strPagerService
Name of the pager service that has been set up using the ConfigureServicesmethod.

Return Value

Boolean

Examples

The following example shows how to set the PagerJobQueueobject to use the Contoso, Ltd. service.

[VBScript] 
Dim objPagerJobQueue, blnOK

Set objPagerJobQueue = CreateObject("OPScrUtil.PagerJobQueue")

blnOK = objPagerJobQueue.SetPagerService("Contoso, Ltd.")

Set objPagerJobQueue = Nothing

Requirements

Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1

See Also

PagerJobQueue Object


Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.