Alert.AlertSource Property
Gets or sets the source of the alert.
Alert.AlertSource
Access
Read/Write
Return Value
String
Remarks
The source of an alert is a user-defined name. If no name is defined, the event source is typically used.
Examples
The following example shows how to create a new alert and set the Source property to the strSource parameter.
Function MakeAlert(strSource)
Dim objAlert
Set objAlert = ScriptContext.CreateAlert()
objAlert.AlertSource = strSource
Set MakeAlert = objAlert
End Function
Requirements
Platforms: Requires Windows 2000 or later
Version: Requires MOM 2000 or later