[]
        
(Showing Draft Content)

C1.Schedule.Appointment.SetOwner

SetOwner Method

SetOwner(BaseObject, BaseObject, string)

Sets a new group owner for the current appointment

Declaration
public void SetOwner(BaseObject newOwner, BaseObject oldOwner, string groupBy)
Parameters
Type Name Description
BaseObject newOwner

The new owner object.

BaseObject oldOwner

The old owner object.

string groupBy

The string defining owning control grouping.

Exceptions
Type Condition
ArgumentException

the type of owner object doesn't fit into specified grouping option.