IPagerAlert Property: PagerTo

Property Name
PagerTo

Property Type
Variant

Description
Sets the pager address to whom the page is to be sent.

Example

Dim PagerAlert As IPagerAlert
Dim PagerAddrs(2) As String
'Get the interface. 'DirectScript.EventLogger.1'is the ProgId of 'the Event Logger component.
Set PagerAlert = CreateObject ("DirectScript.EventLogger.1")
PagerAddrs(0) = "8004100780@metrocall.com"
PagerAddrs(1) = "8004100781@metrocall.com"
'Set the pager addresses to whom pager is to be sent7
PagerAlert.PagerTo = PagerAddrs

 

See Also: