共用方式為


ConnectionManager.Disconnect Method

Definition

Closes the connection with SQL Server. Ignored if already disconnected. Exceptions: ConnectionFailureException

public void Disconnect ();
member this.Disconnect : unit -> unit
Public Sub Disconnect ()

Applies to