BusinessLogicConnection.ChangeDatabase Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
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
)
Parameters
- dbName
Type: System.String
The name of the database for the connection to use.
Implements
IDbConnection.ChangeDatabase(String)
See Also
Reference
Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace