Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - .NET 编程 » UltraLite .NET 2.0 API 参考

 

ULSyncParms 类

UL Ext.: 表示同步参数,这些参数用于定义如何同步 UltraLite 数据库。此类无法继承。

语法
Visual Basic
Public NotInheritable Class ULSyncParms
C#
public sealed class ULSyncParms
注释

没有用于此类的构造函数。每个连接都有自己的 ULSyncParms 实例,作为其 ULConnection.SyncParms 附属于连接。

一次最多只能指定一个同步命令(ULSyncParms.DownloadOnly、ULSyncParms.PingOnly、ULSyncParms.ResumePartialDownload 或 ULSyncParms.UploadOnly)。如果这些参数中有多个被设置为 true,则 ULConnection.Synchronize() 将抛出 ULSQLCode.SQLE_SYNC_INFO_INVALID SQLException。

ULSQLCode.SQLE_SYNC_INFO_INVALID 错误的其它原因包括未指定 ULSyncParms.Stream 值或 ULSyncParms.Version 值。

另请参见

ULSyncParms 成员
AdditionalParms 属性
AuthenticationParms 属性
DownloadOnly 属性
KeepPartialDownload 属性
NewPassword 属性
Password 属性
PingOnly 属性
Publications 属性
ResumePartialDownload 属性
SendColumnNames 属性
SendDownloadAck 属性
Stream 属性
StreamParms 属性
UploadOnly 属性
UserName 属性
Version 属性
CopyFrom 方法