Share via


Sync.Status Property

Returns the status of the synchronization of the local copy of the active document with the server copy.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
ReadOnly Default Property Status As MsoSyncStatusType
    Get
'Usage
Dim instance As Sync
Dim value As MsoSyncStatusType

value = instance
MsoSyncStatusType this { get; }

Property Value

Type: Microsoft.Office.Core.MsoSyncStatusType

Remarks

Use the Status property to determine whether the local copy of the active document is synchronized with the shared server copy. Use the GetUpdate method to refresh the status. Use the following methods and properties when appropriate to respond to various status conditions:

  • msoSyncStatusConflict - True when both the local and the server copies have changes. Use the ResolveConflict method to resolve the differences.

  • msoSyncStatusError - Check the ErrorType property.

  • msoSyncStatusLocalChanges - True when only the local copy has changes. Use the PutUpdate method to save local changes to the server copy.

  • msoSyncStatusNewerAvailable - True when only the server copy has changes. Close and re-open the document to work with the latest copy from the server.

  • msoSyncStatusSuspended - Use the Unsuspend method to resume synchronization.

The Status property returns a single MsoSyncStatusType constant from the list in the following order of precedence:

  1. msoSyncStatusNoSharedWorkspace

  2. msoSyncStatusError

  3. msoSyncStatusSuspended

  4. msoSyncStatusConflict

  5. msoSyncStatusNewerAvailable

  6. msoSyncStatusLocalChanges

  7. msoSyncStatusLatest

See Also

Reference

Sync Interface

Sync Members

Microsoft.Office.Core Namespace