SqlSyncAdapterBuilder.SyncDirection 属性

指定相对于客户端的同步方向,其默认方向为 Bidirectional

命名空间: Microsoft.Synchronization.Data.Server
程序集: Microsoft.Synchronization.Data.Server(在 microsoft.synchronization.data.server.dll 中)

语法

声明
<DefaultValueAttribute(SyncDirection.DownloadOnly)> _
Public Property SyncDirection As SyncDirection
用法
Dim instance As SqlSyncAdapterBuilder
Dim value As SyncDirection

value = instance.SyncDirection

instance.SyncDirection = value
[DefaultValueAttribute(SyncDirection.DownloadOnly)] 
public SyncDirection SyncDirection { get; set; }
[DefaultValueAttribute(SyncDirection::DownloadOnly)] 
public:
property SyncDirection SyncDirection {
    SyncDirection get ();
    void set (SyncDirection value);
}
/** @property */
public SyncDirection get_SyncDirection ()

/** @property */
public void set_SyncDirection (SyncDirection value)
public function get SyncDirection () : SyncDirection

public function set SyncDirection (value : SyncDirection)

属性值

SyncDirection 值之一。

示例

有关代码示例,请参见 SqlSyncAdapterBuilder

请参阅

参考

SqlSyncAdapterBuilder 类
SqlSyncAdapterBuilder 成员
Microsoft.Synchronization.Data.Server 命名空间