Releases the handle to an SRP List.

Syntax

SRP_List("Release", Handles)

Parameters

ParameterDescription
Handles@FM delimited list of handles to the SRP Lists to be released (REQUIRED)

Remarks

The Release service releases all the memory associated to the given SRP List handles. This service should always be called when an SRP List is no longer needed. However, if you forget to call this, SRP Utilities will clear the memory when OpenInsight closes. Still, it's a good idea so you don't have memory leaks while OpenInsight runs, especially if the OpenInsight application is expected to stay running for very long periods of time.

Examples

// Create an SRP List, add some stuff, then release it
Handle = SRP_List("Create")
SRP_List("Add", Handle, "SRP")
SRP_List("Add", Handle, "Computer")
SRP_List("Add", Handle, "Solutions")
FinalList = SRP_List("GetVariable", Handle, " ");
SRP_List("Release", Handle)