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

 

Connection 属性

返回与此事务关联的连接。

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

与事务关联的 ULConnection 对象;如果事务不再有效,则为空值引用(在 Visual Basic 中是 Nothing)。

注释

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

另请参见