Compartir a través de


BusinessLogicConnection.ChangeDatabase Método

Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.

Changes the current database for an open connection.

Espacio de nombres:  Microsoft.SqlServer.Replication.BusinessLogicSupport
Ensamblado:  Microsoft.SqlServer.Replication.BusinessLogicSupport (en Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Sintaxis

'Declaración
Public Sub ChangeDatabase ( _
    dbName As String _
)
'Uso
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
)

Parámetros

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

Implementa

IDbConnection.ChangeDatabase(String)

Vea también

Referencia

BusinessLogicConnection Clase

Espacio de nombres Microsoft.SqlServer.Replication.BusinessLogicSupport