Sync.Status 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回活动文档的本地副本与服务器副本的同步状态。
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个常量:
- msoSyncStatusNoSharedWorkspace
- msoSyncStatusError
- msoSyncStatusSuspended
- msoSyncStatusConflict
- msoSyncStatusNewerAvailable
- msoSyncStatusLocalChanges
- msoSyncStatusLatest