Click or drag to resize

IAppointmentGetParticipants Method

Get all participants of the required type for this appointment. Returns an SOAssociates or an SOPersons list depending on the type.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
Object GetParticipants(
	EnParticipantType participantType
)

Parameters

participantType
Type: SuperOffice.COM.SuperOfficeDBEnParticipantType

Return Value

Type: Object
SOAssociates or an SOPersons list depending on the type
Examples

GetParticipants

VB
dim db
dim assoclist, assoc, appnt
Set db = CreateObject("SuperOfficedb.Database")
if db.login("<username>","<password>") then    
    set appnt = db.GetAppointment(442)
    set assoclist = appnt.GetParticipants( 1 )    'enPartTypeAssociate

    for each assoc in assoclist
    appnt.RemoveParticipant( assoc )
    next
    appnt.Save
else
    MsgBox "Could not log on"
end if
Set objSO = Nothing

See Also