Share via


ScriptState.DeleteSet Method

Deletes the specified VarSet object.

 ScriptState.DeleteSet(VarSetName String)

Parameters

  • VarSetName
    Specifies the VarSet object to delete.

Return Value

None

Examples

The following example shows how to delete the specified VarSet object.

Function RemoveSavedVarSet(strVarSetName)
    Dim objScriptState

    Set objScriptState = ScriptContext.GetScriptState()
    Call objScriptState.DeleteSet(strVarSetName)

    Set objScriptState = Nothing
End Function

Requirements

Platforms: Requires Windows 2000 or later

Version: Requires MOM 2000  or later

See Also

ScriptState Object