dataConnector.ResourcePropertyMappings =
New ResourcePropertyMappingCollection()
dataConnector.ResourcePropertyMappings._
Add(ResourceProperty.Id, "MyId")
dataConnector.ResourcePropertyMappings._
Add(ResourceProperty.Name, "MyName")
dataConnector.ResourceCalendarPropertyMappings =_
New ResourceCalendarPropertyMappingCollection()
dataConnector.ResourceCalendarPropertyMappings._
Add(ResourceCalendarProperty.Id, "MyId")
dataConnector.ResourceCalendarPropertyMappings._
Add(ResourceCalendarProperty.Name, "MyName")
dataConnector.ResourceCalendarPropertyMappings._
Add(ResourceCalendarProperty.OwningResourceId, "MyResourceId")
dataConnector.AppointmentPropertyMappings =_
New AppointmentPropertyMappingCollection()
dataConnector.AppointmentPropertyMappings._
Add(AppointmentProperty.Id, "MyId")
dataConnector.AppointmentPropertyMappings._
Add(AppointmentProperty.Start, "MyStart")
dataConnector.AppointmentPropertyMappings._
Add(AppointmentProperty.[End], "MyEnd")
dataConnector.AppointmentPropertyMappings._
Add(AppointmentProperty.OwningResourceId, "MyOwnerId")
dataConnector.AppointmentPropertyMappings._
Add(AppointmentProperty.OwningCalendarId, "MyCalendarId")
dataConnector.AppointmentPropertyMappings._
Add(AppointmentProperty.Subject, "MySubject")
dataConnector.AppointmentPropertyMappings._
Add(AppointmentProperty.Description, "MyDescription")