Microsoft Operations Manager

SendMessage Method

The SendMessagemethod submits an alphanumeric pager message for processing by the modem paging software.

[VBScript]
PagerJobQueue.SendMessage(strService String, strOperatorID String,
strMessage String, [lngPriority Variant])

Parameters

strService
One of the services defined in the modem paging software. Use the ConfigureServicesmethod to configure paging services.
strOperatorID
Unique number for the recipient of the message (PIN).
strMessage
Actual text of the message to be sent.
varPriority
Number that represents the relative importance of the message. Messages with higher priority values are sent before other pages. This parameter is optional.

Return Value

Boolean

Examples

The following example shows how to send a page set to priority 50 with the text Hello World to pager 5551212 on the Contoso, Ltd. service.

[VBScript] 
Dim objPagerJobQueue, blnOK

Set objPagerJobQueue = CreateObject("OPScrUtil.PagerJobQueue")

blnOK = objPagerJobQueue.SendMessage("Contoso, Ltd.", "5551212",
"Hello world", 50)

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.