RelationalSyncProvider 类
提取与数据库通信并将同步代理与该数据库的特定实现隔离的泛型同步提供程序。
此类不符合 CLS。
命名空间: Microsoft.Synchronization.Data
程序集: Microsoft.Synchronization.Data(在 microsoft.synchronization.data.dll 中)
语法
声明
<SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")> _
<SuppressMessageAttribute("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")> _
<CLSCompliantAttribute(False)> _
Public MustInherit Class RelationalSyncProvider
Inherits KnowledgeSyncProvider
Implements IDisposable
用法
Dim instance As RelationalSyncProvider
[SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")]
[SuppressMessageAttribute("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
[CLSCompliantAttribute(false)]
public abstract class RelationalSyncProvider : KnowledgeSyncProvider, IDisposable
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1706:ShortAcronymsShouldBeUppercase")]
[SuppressMessageAttribute(L"Microsoft.Maintainability", L"CA1506:AvoidExcessiveClassCoupling")]
[CLSCompliantAttribute(false)]
public ref class RelationalSyncProvider abstract : public KnowledgeSyncProvider, IDisposable
/** @attribute SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase") */
/** @attribute SuppressMessageAttribute("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling") */
/** @attribute CLSCompliantAttribute(false) */
public abstract class RelationalSyncProvider extends KnowledgeSyncProvider implements IDisposable
SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")
SuppressMessageAttribute("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")
CLSCompliantAttribute(false)
public abstract class RelationalSyncProvider extends KnowledgeSyncProvider implements IDisposable
备注
在大多数情况下,应用程序将使用从该类继承的类之一:SqlSyncProvider、SqlCeSyncProvider 或 DbSyncProvider。
继承层次结构
System.Object
Microsoft.Synchronization.SyncProvider
Microsoft.Synchronization.KnowledgeSyncProvider
Microsoft.Synchronization.Data.RelationalSyncProvider
Microsoft.Synchronization.Data.DbSyncProvider
Microsoft.Synchronization.Data.SqlServer.SqlSyncProvider
Microsoft.Synchronization.Data.SqlServerCe.SqlCeSyncProvider
线程安全
此类型的所有公共静态(在 Visual Basic 中共享 )成员都是线程安全的。不保证任何实例成员的线程安全。
请参阅
参考
RelationalSyncProvider 成员
Microsoft.Synchronization.Data 命名空间