Parameters Property

Provides access to a VarSet object that contains the parameters sent from Microsoft Operations Manager 2000 when the script was invoked. You can set these parameters with the Script Properties Parameters Tab for the script.

Syntax

ScriptContext.Parameters

Access

Read only.

Return Type

VarSet.

Example

To access the parameters specified in the Script Properties Parameters Tab for the script, enter:


Myparameters = ScriptContext.Parameters
Myvariable1 = Myparameters.Get("Myvariable1")