Click or drag to resize

IContactGetProjects Method

Get the projects that this contact's persons are members of. Duplicate projects are eliminated. Get the projects that this contact's persons are members of. Duplicate projects are eliminated.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
SOProjects GetProjects()

Return Value

Type: SOProjects
SOProjects – a collection of project objects
Examples

GetProjects

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
dim objso
dim collprojs
dim proj
dim msg 
set objso =  createobject("superoffice.application")
If not (objSO is nothing) Then
    set collprojs = objso.currentcontact.getprojects()
    for each proj in collprojs
        msg = msg & proj.name 
        msg = msg & chr(13) & chr(10)
    next
    msgbox msg, vbinformation + vbokonly, "supercom"  
else
    msgbox "unable to connect to database"
end if
set objso = nothing

See Also