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 参考 » ULCommand 类

 

Connection 属性

在其上执行 ULCommand 对象的连接对象。

语法
Visual Basic
Public Property Connection As ULConnection
C#
public ULConnection Connection { get; set; }
属性值

在其上执行命令的 ULConnection 对象。

注释

执行 ULCommand 对象前必须先打开一个连接。

缺省值为空值引用(在 Visual Basic 中是 Nothing)。

这是 System.Data.IDbCommand.Connection 和 System.Data.Common.DbCommand.Connection 的强类型版本。

另请参见