共用方式為


ConnectionManager.Connect Method

Definition

Creates the actual connection to SQL Server. Ignored if already connected. It is optional to call this method, as the connection will be opened when required. Exceptions: ConnectionFailureException

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

Applies to