Jump to content
  • Persistent Variables - 4.16 - Forget

    Persistent Variables - 4.16 - Forget

    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,

     

     


    Tom Wellige
     Share


     Share




×
×
  • Create New...

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.