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 네임스페이스