Click or drag to resize

IAdminGetAllStatusMonitors Method

Return a collection of the status monitors for a given table, indexed by the monitor id. Read more about status monitors on Techdoc

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
SOStatusMonitors GetAllStatusMonitors(
	SOTableId TableId,
	bool includeDeletedItems
)

Parameters

TableId
Type: SuperOffice.COM.SuperOfficeDBSOTableId
includeDeletedItems
Type: SystemBoolean

Return Value

Type: SOStatusMonitors
Examples

Get all status monitors

VB
Dim soDB, myStatusMonitors 
Set soDB = CreateObject("SuperOfficeDB.Database")
enTableCont = 5
If not (soDB is nothing) Then

    soDB.Login "USERNAME", "PASSWORD"
        Set myStatusMonitors = soDB.Admin.GetAllStatusMonitors(enTableCont, False)

        For Each myStatusMon In myStatusMonitors

            msg = msg & myStatusMon.Name & vbCrLf
        Next
        MsgBox "All statusmonitors for contact:" & vbCrLf & msg

else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also