Compartir a través de


SyncErrorNumber Enumeration

Defines a list of errors that can occur during synchronization.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
Public Enumeration SyncErrorNumber
public enum SyncErrorNumber
public enum class SyncErrorNumber
public enum SyncErrorNumber
public enum SyncErrorNumber

Members

Member name Description
AddingTableMetadataFailed The local database could not add metadata columns to a table that is included in synchronization.
InvalidArguments One of the arguments specified is not valid.
InvalidSchemaDataSet The table schema is not valid for one of the tables that should be created in the local database. If you specify a schema by using SchemaDataSet, make sure that the data set contains a valid schema for all tables that should be synchronized.
InvalidValue The value specified for one of the arguments is not valid.
MetadataDoesNotExist One of the anchor values is missing.
MissingSelectCommand One of the SELECT commands that are used to retrieve data changes has not been defined.
MissingSessionVariable A required session variable is missing for one of the SELECT commands that are used to retrieve data changes. For a list of session variables, see SyncSession.
MissingTableSchema The table schema is not defined for one of the tables that should be created in the local database. If you specify a schema by using SchemaDataSet, make sure that the data set contains a valid schema for all tables that should be synchronized.
ParsingQueryFailed The remote data store could not parse one of the SELECT commands that are used to retrieve data changes.
PrimaryKeyNotFound A table does not have a primary key. A primary key is required to identify rows during synchronization.
StoreException An exception was thrown by the remote data store.
SyncInProgress A synchronization session is in progress and Synchronize was called. Only one session can be in progress at a time for the local database. Only one session can be in progress at a time for a specified table in the remote database.
TableAlreadyExists The table already exists in the database, and you specified a value of CreateNewTableOrFail for CreationOption.
TableDoesNotExist The table does not exist in the database, and you specified a value of UseExistingTableOrFail for CreationOption.
TableIsNotTracked Cannot retrieve data changes from a table because the change tracking metadata does not exist for that table.
Unknown An unknown error occurred during synchronization.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

Microsoft.Synchronization.Data Namespace