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

 

State 属性

返回连接的当前状态。

语法
Visual Basic
Public Overrides Readonly Property State As ConnectionState
C#
public override ConnectionState State { get;}
属性值

如果连接已打开,则为 System.Data.ConnectionState.Open;如果连接已关闭,则为 System.Data.ConnectionState.Closed。

另请参见