Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a synchronization provider that communicates with a SQL Server database and shields other Sync Framework components from the specific implementation of the database.
The following tables list the members exposed by the SqlSyncProvider type.
Public Constructors
| Name | Description | |
|---|---|---|
![]() |
SqlSyncProvider | Overloaded. Initializes a new instance of the SqlSyncProvider 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 | Gets or sets an IDbConnection object that is used to connect to the database. This property is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
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. |
![]() |
ObjectSchema | Gets or sets the optional database schema in which Sync Framework creates objects. This property is not CLS-compliant. |
![]() |
ScopeName | Overridden. Sets the name of the scope to synchronize, which is a logical group of tables with optional filters. 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.(Inherited from 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 | When overridden in a derived class, enables an explicit transaction to be created in which to apply changes to an Oracle database. This method is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
CreateEnumerationTransaction | When overridden in a derived class, enables an explicit transaction to be created in which to enumerate changes from an Oracle database. This method is not CLS-compliant. (Inherited from RelationalSyncProvider.) |
![]() |
Dispose | Overloaded. (Inherited from RelationalSyncProvider.) |
![]() |
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.) |
![]() |
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.) |
![]() |
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
SqlSyncProvider Class
Microsoft.Synchronization.Data.SqlServer Namespace
.gif)
.gif)
.gif)
.gif)
.gif)