RemoveRecipients method: PSEvent class
Syntax
RemoveRecipients(type)
Description
Use the RemoveRecipients method to remove all the recipients of a particular type from the notification.
Parameters
| Parameter | Description |
|---|---|
|
type |
A number representing the type of recipients:
|
Returns
None.
Example
The following example removes recipients of type "role names" from the notification.
&type = 2;
&EventObject.RemoveRecipients(&type);