Microsoft Operations Manager

AlertSource Property

The AlertSourceproperty gets the source of the alert.

[VBScript] 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 Sourceproperty to the strSourceparameter.

[VBScript] 
Function MakeAlert(strSource)
	Dim objAlert
	
		Set objAlert = ScriptContext.CreateAlert()
		objAlert.AlertSource = strSource
		Set MakeAlert = objAlert
End Function

Requirements

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

See Also

Alert Object


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