Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Encapsulates a synchronization provider for SQL Server Compact that communicates with the client and shields the synchronization orchestrator from the specific implementation of the client database.
The following tables list the members exposed by the SqlCeSyncProvider type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
SqlCeSyncProvider | Overloaded. Initializes a new instance of the SqlCeSyncProvider class. |
Top
Public Properties
Name | Description | |
---|---|---|
![]() |
BatchingDirectory | Gets or sets the directory in which batch files are spooled to disk. This property is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
CleanupBatchingDirectory | Gets or sets whether to clean up batching files after the changes in the files have been applied to the destination. This property is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
Configuration | Not implemented by RelationalSyncProvider. An exception of type NotSupportedException is thrown if you attempt to access this property. This property is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
Connection | Overridden. Gets or sets the IDbConnection object that is used to connect to the client database. This property is not CLS-compliant. |
![]() |
DestinationCallbacks | Gets an object that a synchronization application can use to register to receive notification of events that occur during synchronization. This property is not CLS-compliant. (Inherited from KnowledgeSyncProvider.) |
![]() |
IdFormats | Gets a SyncIdFormatGroup object that is used to identify entities in a synchronization session. This property is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
MemoryDataCacheSize | Gets or sets the maximum amount of memory (in KB) that Sync Framework uses to cache changes before spooling those changes to disk. This property is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
ObjectPrefix | Gets or sets the optional prefix that is used to identify objects that Sync Framework creates. This property is not CLS-compliant. |
![]() |
ScopeName | Overridden. Gets or sets the name of the scope to synchronize. This property is not CLS-compliant. |
![]() |
SyncProviderPosition | Gets or sets a SyncProviderPosition enumeration value that represents whether a provider is associated with the local or remote database. This property is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
BeginSession | Overridden. Called by the SyncOrchestrator to indicate that a synchronization session has started. This method is not CLS-compliant. |
![]() |
Dispose | Overloaded. Releases the resources that are used by the RelationalSyncProvider. |
![]() |
EndSession | (Inherited from RelationalSyncProvider.) |
![]() |
Equals | Overloaded. (Inherited from Object.) |
![]() |
GetChangeBatch | (Inherited from RelationalSyncProvider.) |
![]() |
GetFullEnumerationChangeBatch | (Inherited from RelationalSyncProvider.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetSyncBatchParameters | (Inherited from RelationalSyncProvider.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ProcessChangeBatch | (Inherited from RelationalSyncProvider.) |
![]() |
ProcessFullEnumerationChangeBatch | (Inherited from RelationalSyncProvider.) |
![]() ![]() |
ReferenceEquals | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
CreateApplicationTransaction | Overridden. Creates a read-committed transaction over which to apply changes to the SQL Server Compact database. This method is not CLS-compliant. |
![]() |
CreateEnumerationTransaction | Overridden. Creates a read-committed transaction over which to enumerate changes from the SQL Server Compact database. This method is not CLS-compliant. |
![]() |
Dispose | Overloaded. Overridden. Releases the resources that are used by SqlCeSyncProvider. |
![]() |
Finalize | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnApplyChangeFailed | (Inherited from RelationalSyncProvider.) |
![]() |
OnApplyingChanges | (Inherited from RelationalSyncProvider.) |
![]() |
OnApplyMetadataFailed | (Inherited from RelationalSyncProvider.) |
![]() |
OnChangesApplied | (Inherited from RelationalSyncProvider.) |
![]() |
OnChangesSelected | (Inherited from RelationalSyncProvider.) |
![]() |
OnPeerOutdated | (Inherited from RelationalSyncProvider.) |
![]() |
OnSelectingChanges | (Inherited from RelationalSyncProvider.) |
![]() |
OnSyncProgress | (Inherited from RelationalSyncProvider.) |
Top
Public Events
Name | Description | |
---|---|---|
![]() |
ApplyChangeFailed | Occurs during uploading, after failing to apply a row at a node. This event is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
ApplyingChanges | Occurs during uploading, after connecting to the database but before applying changes. This event is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
ApplyMetadataFailed | Occurs during uploading, after failing to apply metadata for a row. This event is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
BatchApplied | Occurs after each batch of changes has been applied to the destination. This event is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
BatchSpooled | Occurs after each batch of changes has been written to disk. This event is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
BeginSnapshotInitialization | Occurs when Sync Framework determines that a database is a snapshot that needs to be initialized before synchronization starts. This event is not CLS-compliant. |
![]() |
ChangesApplied | Occurs during uploading, after applying changes but before disconnecting from the database. This event is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
ChangesSelected | Occurs during downloading, after enumerating changes but before disconnecting from the database. This event is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
EndSnapshotInitialization | Occurs when all tables for a particular scope have been initialized from a snapshot. This event is not CLS-compliant. |
![]() |
SelectingChanges | Occurs during downloading, after connecting to the database but before selecting changes. This event is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
SyncPeerOutdated | Occurs before enumeration of changes if the destination node is outdated. This event is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
SyncProgress | Occurs during the selection of changes (per table) and the application of changes (per row). This event is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
Top
See Also
Reference
SqlCeSyncProvider Class
Microsoft.Synchronization.Data.SqlServerCe Namespace