Click or drag to resize

IPersonInterests Property

Interest object collection Returns a collection of SOInterests objects

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

Property Value

Type: SOInterests
SOInterests – a list of SOInterests objects
Examples

Interests

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

This will return the number of active interests on the contact person.

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then        
    MsgBox "The current contact person has " & objSO.CurrentPerson.Interests.Count & " active interests.", vbInformation + vbOkOnly, "SuperCOM"
else
    MsgBox "Unable to connect"
end if
Set objSO = Nothing

See Also