Freigeben über


BusinessLogicConnection.ChangeDatabase-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Changes the current database for an open connection.

Namespace:  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Syntax

'Declaration
Public Sub ChangeDatabase ( _
    dbName As String _
)
'Usage
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
)

Parameter

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

Implementiert

IDbConnection.ChangeDatabase(String)

Siehe auch

Verweis

BusinessLogicConnection Klasse

Microsoft.SqlServer.Replication.BusinessLogicSupport-Namespace