ReliableSqlConnection.ChangeDatabase Method
Retired Content |
---|
This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling. |
Changes the current database for an open Connection object.
Namespace: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.SqlAzure
Assembly: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling (in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.dll) Version: 5.0.1118.0 (5.0.1118.0)
Syntax
public void ChangeDatabase(
string databaseName
)
'Declaration
Public Sub ChangeDatabase ( _
databaseName As String _
)
public:
virtual void ChangeDatabase(
String^ databaseName
) sealed
Parameters
- databaseName
Type: System.String
The name of the database to use in place of the current database.
Implements
IDbConnection.ChangeDatabase(String)
See Also
Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.SqlAzure Namespace