Click or drag to resize

IStatusMonitorSave Method

Save the status monitor definition to the database. This will not generate the status values.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
void Save()
Examples

Save

VB
Dim objDB
Dim msg

Set objDB = CreateObject("superofficedb.database")
If Not (objDB is Nothing) Then
    objDB.login "<userid>", "<password>" ' log in to the database


    Set myStatusMonitor = objDB.Admin.GetStatusMonitor(2) 'requires there to be a status monitor with id = 2 in the database
        myStatusMonitor.Name = myStatusMonitor.Name & " Changed by " & objDB.Username
        myStatusMonitor.Save
Else
    MsgBox "unable to connect to database"
End If
Set objso = Nothing

See Also