Click or drag to resize

IProjectMemberContact Property

Contact The contact of which the project member is a contact person.

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

Property Value

Type: SOContact
SOContact - object containing the contact (company) the project member belongs to
Examples

Contact

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

This example returns the name of the contact this project member belongs to.

VB
Dim objSO
Dim projMemb
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    projMemb = ObjSO.Database.GetProjectMember(1)
    msgbox "The project member is a contact person with the company named: " & projMemb.Contact.Name, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also