ScriptContext.GetScriptState Method
Gets the ScriptState object.
ScriptContext.GetScriptState()
Return Value
Object
Remarks
You can use the ScriptState object as a persistent store for script variables.
Examples
The following example shows how to access the ScriptState object.
Function GetSavedVarSet(strVarSetName)
Dim objScriptState
Dim objVarSet
Set objScriptState = ScriptContext.GetScriptState()
Set objVarSet = objScriptState.GetSet(strVarSetName)
Set objScriptState = Nothing
Set GetSavedVarSet = objVarSet
End Function
Requirements
Platforms: Requires Windows 2000 or later
Version: Requires MOM 2000 or later