在吗,问个问题。我写了几行代码,别人能收到会议邀请,但是本人的日历中不显示。不知道是怎么回事?
// Appointment appointment = new Appointment(_service);//约会主题
// appointment.Subject = "Play Basketball";//约会内容
// appointment.Body = "Play Basketball";//约会开始时间2010-6-1 12:30:00
// appointment.Start = new DateTime(2012,11,22,13,20,0);//约会结束
// appointment.End = appointment.Start.AddHours(2);//约会的位置
// appointment.Location = "蓝罐会议室";
// appointment.RequiredAttendees.Add("
bennyzhang@rich.com");
// // appointment.RequiredAttendees.Add("
rcao@rich.com");
// appointment.Save( SendInvitationsMode.SendToAllAndSaveCopy);