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 类

 

PingOnly 属性

指定客户端是否应当只强制 MobiLink 服务器回应,而不实际执行同步。

语法
Visual Basic
Public Property PingOnly As Boolean
C#
public bool PingOnly { get; set; }
属性值

如果指定客户端应当只强制 MobiLink 服务器回应,则为 ture;如果指定客户端应当实际执行同步,则为 false。缺省值为 false。

注释

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

另请参见