Microsoft Operations Manager

Parameters Property

The Parametersproperty gets a VarSetobject that contains the parameters sent from MOM when the script was invoked.

[VBScript] ScriptContext.Parameters



Return Value

Object (VarSet)


You can set the parameters in the MOM Administrator console on the Script Properties Parameterstab for the script.


The following example shows how to access the parameters specified on the Script Properties Parameterstab for the script.

Function GetParam(strParamName)
	Dim objParameters, vntVariable

	Set objParameters = ScriptContext.Parameters
	vntVariable = objParameters.get(strParamName)

	Set objParameters = Nothing

	GetParam = vntVariable
End Function


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

See Also

ScriptContext Object

Did you find this information useful? Please send your suggestions and comments about the documentation to