語言

RelationalConnection.Close 方法

定義

關閉了與資料庫的連線。

public virtual void Close();
public virtual bool Close();
abstract member Close : unit -> unit
override this.Close : unit -> unit
abstract member Close : unit -> bool
override this.Close : unit -> bool
Public Overridable Sub Close ()
Public Overridable Function Close () As Boolean

傳回

true 如果底層連結實際上是閉合的; false 否則,

實作

適用於