IFindProjectsWithActiveStatusMonitor Method |
Returns list of Projects with matching status monitors. Search by status monitor name or the status monitor id.
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
SyntaxSOProjects ProjectsWithActiveStatusMonitor(
Object valueNameOrId
)
Function ProjectsWithActiveStatusMonitor (
valueNameOrId As Object
) As SOProjects
Dim instance As IFind
Dim valueNameOrId As Object
Dim returnValue As SOProjects
returnValue = instance.ProjectsWithActiveStatusMonitor(valueNameOrId)
SOProjects^ ProjectsWithActiveStatusMonitor(
[InAttribute] Object^ valueNameOrId
)
Parameters
- valueNameOrId
- Type: SystemObject
The name or the Id of the Status Monitor
Return Value
Type:
SOProjectsSOContacs - a collection of contacts matching the query
ExamplesDim objSO
Dim myProjs
Dim myProj
Set objSO = CreateObject("SuperOfficeDB.Database")
If not (objSO is nothing) Then
objSO.login "USERID", "PASSWORD"
Set myProjs = objSO.Find.ProjectsWithActiveStatusMonitor(8)
Set myProj = myProjs.GetFirst
While Not myProjs.EOF
msg = msg & myProj.Name & vbCrLf
Set myProj = myProjs.GetNext
Wend
if msg <> "" then
MsgBox msg, vbInformation & vbOKOnly, "Projects matching search"
Else
MsgBox "No match"
End If
End If
Set objSO = Nothing
See Also