Jump to content

- Properties & Methods

- # Persistent Variables - 4.16 - Forget

  Followers 0

  VBScript 1.3.0

  This method removes a persistent variable from the database, i.e. its content is getting forgotten.

      Dim Announcement
      Set Announcement  = new PersistentVariable
      Announcement.Name = "Welcome"
      Announcement.Forget

  The above example removes the persistent variable from the user or group scope of the current call routing user from the database.

  Ususally it shouldn't be needed to use this method at all. If for what reason ever you really need to remove a persistent variable from the database, this method will do it for you.

  Of course it is also possible to access the persistent variables database (i.e. with the SQL Server Management Studio) and delete variables directly from there,

  By Tom Wellige

  - February 25, 2024
  Share
  Share
  Followers 0
  Previous Page 4.15 - ModifiedByNumber
  Next Page 4.17 - LatestError

## Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.