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
SyntaxSOStatusMonitors GetAllStatusMonitors(
SOTableId TableId,
bool includeDeletedItems
)
Function GetAllStatusMonitors (
TableId As SOTableId,
includeDeletedItems As Boolean
) As SOStatusMonitors
Dim instance As IAdmin
Dim TableId As SOTableId
Dim includeDeletedItems As Boolean
Dim returnValue As SOStatusMonitors
returnValue = instance.GetAllStatusMonitors(TableId,
includeDeletedItems)
SOStatusMonitors^ GetAllStatusMonitors(
[InAttribute] SOTableId TableId,
[InAttribute] bool includeDeletedItems
)
Parameters
- TableId
- Type: SuperOffice.COM.SuperOfficeDBSOTableId
- includeDeletedItems
- Type: SystemBoolean
Return Value
Type:
SOStatusMonitors
ExamplesGet all status monitors
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