Microsoft Operations Manager

DeleteSet Method

The DeleteSetmethod deletes the specified VarSetobject.

[VBScript]
ScriptState.DeleteSet(VarSetName String)

Parameters

VarSetName
Specifies the VarSetobject to delete.

Return Value

None

Examples

The following example shows how to delete the specified VarSetobject.

[VBScript] 
Function RemoveSavedVarSet(strVarSetName)
	Dim objScriptState

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

	Set objScriptState = Nothing
End Function

Requirements

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

See Also

ScriptState Object


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