Click or drag to resize

IContactStatusMonitors Property

Contact Status Monitors - list of all active status monitors indexed by id. May return an error if the Sales Intelligence license is missing.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
SOStatusMonitorValues StatusMonitors { get; }

Return Value

Type: SOStatusMonitorValues
SOStatusMonitorValues - Status monitor values for this contact
Examples

Status monitors

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 myContact = objDB.GetContact(2)

    If myContact.StatusMonitors.Count > 0 Then
        MsgBox "There are " & myContact.StatusMonitors.Count & " status monitor that match " & myContact.Name
    Else
        MsgBox "There are no status monitors that match contact: " & myContact.Name
    End If

Else
    MsgBox "unable to connect to database"
End If
Set objso = Nothing

See Also