Click or drag to resize

IProjectMemberContactId Property

ContactId The contact of which the project member is a contact person. The contact of which the project member is a contact person. This will return the database internal unique identifier for this company (contact_id).

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
int ContactId { get; set; }

Property Value

Type: Int32
SOContact - object containing the contact (company) the project member belongs to Long - The database internal ID of the company (contact_id)
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

ContactId

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

This example returns the contact_id 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 that has contact_id =  " & projMemb.ContactID, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also