Click or drag to resize

IStatusMonitorDelete Method

Marks the status monitor as deleted.

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

Delete

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.Delete
Else
    MsgBox "unable to connect to database"
End If
Set objso = Nothing

See Also