Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
关闭数据库连接。
Public Overrides Sub Close()
public override void Close()
Close 方法会回退所有待执行的事务。然后它会将连接释放到连接池,如果连接池被禁用,则关闭连接。如果处理 StateChange 事件时调用 Close,则不会触发任何其它 StateChange 事件。应用程序可以多次调用 Close。