Catalog.SetCurrentDatabase(String) 方法

定義

設定此會話中的目前預設資料庫。

public void SetCurrentDatabase(string dbName);
member this.SetCurrentDatabase : string -> unit
Public Sub SetCurrentDatabase (dbName As String)

參數

dbName
String

要設定的資料庫名稱。

適用於