我尝试安排服务预约,但对AppointmentRequest 类型的UserTimeZoneCode 属性感到困惑。根据 MSDN 文章,这是属性。int
不幸的是,官方示例代码中缺少信息(只是花哨的“幻数”):
// Create the appointment request.
AppointmentRequest appointmentReq = new AppointmentRequest
{
...
// The search window describes the time when the resouce can be scheduled.
// It must be set.
SearchWindowStart = DateTime.Now.ToUniversalTime(),
SearchWindowEnd = DateTime.Now.AddDays(7).ToUniversalTime(),
UserTimeZoneCode = 1
};
那么,我在哪里可以找到与特定时区匹配的代码?任何地方都有它的枚举吗?