corelibraries-devexpress-dot-xtrascheduler-dot-iappointmentstoragebase-a6baba2b.md
Gets or sets a value indicating whether an appointment can be associated with multiple resources.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
bool ResourceSharing { get; set; }
Property ResourceSharing As Boolean
| Type | Description |
|---|---|
| Boolean |
true , if the resource sharing is enabled; otherwise, false.
|
If resource sharing is enabled, the Appointment.ResourceIds property contains a ResourceIdCollection collection containing identifiers of associated resources. The Appointment.ResourceId property returns the ID of the first resource in a collection of associated resources.
To store information on shared resources in the bound data source, the AppointmentMappingInfo.ResourceId mapping should specify a data field of the text type. Ensure that its length is sufficient to accommodate the string in XML format containing resource IDs.
If the ResourceSharing is set to false , the AppointmentMappingInfo.ResourceId mapping should specify a data field of the type chosen for resource ID identifier in both appointment and resource data tables. The data field will contain a single resource ID.
See Also
How to: Enable Multi-Resource Appointments
IAppointmentStorageBase Interface