次の方法で共有


BusinessLogicConnection.ChangeDatabase メソッド

この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

Changes the current database for an open connection.

名前空間:  Microsoft.SqlServer.Replication.BusinessLogicSupport
アセンブリ:  Microsoft.SqlServer.Replication.BusinessLogicSupport (Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

構文

'宣言
Public Sub ChangeDatabase ( _
    dbName As String _
)
'使用
Dim instance As BusinessLogicConnection 
Dim dbName As String

instance.ChangeDatabase(dbName)
public void ChangeDatabase(
    string dbName
)
public:
virtual void ChangeDatabase(
    String^ dbName
) sealed
abstract ChangeDatabase : 
        dbName:string -> unit  
override ChangeDatabase : 
        dbName:string -> unit
public final function ChangeDatabase(
    dbName : String
)

パラメーター

  • dbName
    型: System.String
    The name of the database for the connection to use.

実装

IDbConnection.ChangeDatabase(String)

関連項目

参照

BusinessLogicConnection クラス

Microsoft.SqlServer.Replication.BusinessLogicSupport 名前空間