TimeZoneContextTimeZoneContext

当为使用 Exchange Web 服务(EWS)创建、更新和检索的对象的 DateTime 属性分配时区时,在简单对象访问协议(SOAP)头中使用TimeZoneContext元素来指定要用作默认的时区定义。The TimeZoneContext element is used in the Simple Object Access Protocol (SOAP) header to specify the time zone definition that is to be used as the default when assigning the time zone for the DateTime properties of objects that are created, updated, and retrieved by using Exchange Web Services (EWS).

<TimeZoneContext>
   <TimeZoneDefinition/>
</TimeZoneContext>

TimeZoneContextTypeTimeZoneContextType

属性和元素Attributes and elements

下面各部分介绍了属性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.

AttributesAttributes

无。None.

子元素Child elements

元素Element 说明Description
TimeZoneDefinitionTimeZoneDefinition
指定用于定义时区的周期和转换。Specifies the periods and transitions that define a time zone.

父元素Parent elements

无。None.

说明Remarks

描述此元素的架构位于运行 Microsoft Exchange Server 且安装了客户端访问服务器角色的计算机的 EWS 虚拟目录中。The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange Server that has the Client Access server role installed.

元素信息Element information

命名空间Namespace
https://schemas.microsoft.com/exchange/services/2006/types
架构名称Schema Name
类型架构Types schema
验证文件Validation File
Types.xsdTypes.xsd
可以为空Can be Empty
FalseFalse

另请参阅See also