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 参考

 

ULFileTransfer 类

UL Ext.: 使用 MobiLink 服务器从远程数据库中传输文件。此类无法继承。

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

您无需数据库连接便能执行文件传输,但是,如果您的应用程序要将 UltraLite 数据库与 UltraLite 引擎运行时搭配使用,则必须在使用此 API 或任何其它 UltraLite.NET API 之前,将 ULDatabaseManager.RuntimeType 设置为适当的值。

要传输文件,必须设置 ULFileTransfer.FileName、ULFileTransfer.Stream、ULFileTransfer.UserName 和 ULFileTransfer.Version。

另请参见

ULFileTransfer 成员
ULFileTransfer 构造函数
AuthStatus 属性
AuthValue 属性
AuthenticationParms 属性
DestinationFileName 属性
DestinationPath 属性
DownloadedFile 属性
FileAuthCode 属性
FileName 属性
ForceDownload 属性
Password 属性
ResumePartialDownload 属性
Stream 属性
StreamErrorCode 属性
StreamErrorSystem 属性
StreamParms 属性
UserName 属性
Version 属性
DownloadFile 方法