Sync.Status 属性

定义

返回活动文档的本地副本与服务器副本的同步状态。

public:
 property Microsoft::Office::Core::MsoSyncStatusType default { Microsoft::Office::Core::MsoSyncStatusType get(); };
public Microsoft.Office.Core.MsoSyncStatusType this { get; }
member this.Status : Microsoft.Office.Core.MsoSyncStatusType
Default Public ReadOnly Property Status As MsoSyncStatusType

属性值

注解

使用 Status 属性可确定活动文档的本地副本是否与共享服务器副本同步。 GetUpdate()使用 方法刷新状态。 对于不同的状态条件,请分别使用下列方法和属性:

Status 属性按以下优先级顺序从列表中返回一MsoSyncStatusType个常量:

  1. msoSyncStatusNoSharedWorkspace
  2. msoSyncStatusError
  3. msoSyncStatusSuspended
  4. msoSyncStatusConflict
  5. msoSyncStatusNewerAvailable
  6. msoSyncStatusLocalChanges
  7. msoSyncStatusLatest

适用于