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
SyntaxObject GetParticipants(
EnParticipantType participantType
)
Function GetParticipants (
participantType As EnParticipantType
) As Object
Dim instance As IAppointment
Dim participantType As EnParticipantType
Dim returnValue As Object
returnValue = instance.GetParticipants(participantType)
Object^ GetParticipants(
[InAttribute] EnParticipantType participantType
)
Parameters
- participantType
- Type: SuperOffice.COM.SuperOfficeDBEnParticipantType
Return Value
Type:
ObjectSOAssociates or an SOPersons list depending on the type
ExamplesGetParticipants
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 )
for each assoc in assoclist
appnt.RemoveParticipant( assoc )
next
appnt.Save
else
MsgBox "Could not log on"
end if
Set objSO = Nothing
See Also