itemActivityTimeSet 资源类型

命名空间:microsoft.graph

itemActivityTimeSet 资源提供有关项活动发生时间的信息。

注意:项活动记录目前仅在 SharePoint 和 OneDrive for Business 上可用。

属性

属性名称 类型 说明
observedDateTime DateTimeOffset 在观察到要发生活动时。
recordedDateTime DateTimeOffset 在服务上记录观察时。

对于离线协作方案来说,观察记录时间差异尤为重要。 如果用户在离线时对文件添加注释,则会将他们添加注释的时间设置为 observedDateTime。 稍后当用户重新连接到云并上传更改时,该时间将设置为 recordedDateTime

JSON 表示形式

{
  "observedDateTime": "String (timestamp)",
  "recordedDateTime": "String (timestamp)"
}