UL Ext:表示同步参数,这些参数用于定义如何同步 UltraLite 数据库。
Public NotInheritable Class ULSyncParms
public sealed class ULSyncParms
ULSyncParms 类的所有成员,包括所有继承的成员。
名称 | 说明 |
---|---|
将指定的 ULSyncParms 对象的属性复制到此 ULSyncParms 对象。 | |
返回此实例的字符串表示形式。 | |
采用以分号分隔的 "名称=值" 对的列表形式指定附加同步参数。 | |
为自定义用户验证脚本(MobiLink authenticate_parameters 连接事件)指定参数。 | |
指定是否在同步时禁用或启用上载。 | |
指定在同步时是禁用还是启用部分下载。 | |
为用 UserName 指定的用户指定一个新的 MobiLink 口令。 | |
用 UserName 指定的用户的 MobiLink 口令。 | |
指定客户端是否应当仅 ping MobiLink 服务器,而不实际执行同步。 | |
指定要同步的发布。 | |
指定是恢复还是放弃先前的部分下载。 | |
指定客户端是否应在同步过程中向 MobiLink 服务器发送列名。 | |
指定客户端是否应在同步过程中向 MobiLink 服务器发送下载确认消息。 | |
指定用于同步的 MobiLink 同步流。 | |
指定用于配置同步流的参数。 | |
指定在同步时是禁用还是启用下载。 | |
向 MobiLink 服务器唯一标识 MobiLink 客户端的用户名。 | |
指定要使用哪一个同步脚本。 |
没有用于此类的构造函数。每个连接都有自己的 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 值。
CopyFrom 方法
ToString 方法
AdditionalParms 属性
AuthenticationParms 属性
DownloadOnly 属性
KeepPartialDownload 属性
NewPassword 属性
Password 属性
PingOnly 属性
Publications 属性
ResumePartialDownload 属性
SendColumnNames 属性
SendDownloadAck 属性
Stream 属性
StreamParms 属性
UploadOnly 属性
UserName 属性
Version 属性
![]() |
使用DocCommentXchange讨论此页。
|
版权 © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |