public function DatabaseSchema_sqlsrv::setRecoveryModel in Drupal driver for SQL Server and SQL Azure 7
Same name and namespace in other branches
- 7.3 sqlsrv/schema.inc \DatabaseSchema_sqlsrv::setRecoveryModel()
- 7.2 sqlsrv/schema.inc \DatabaseSchema_sqlsrv::setRecoveryModel()
Change Database recovery model.
File
- sqlsrv/
schema.inc, line 212 - Database schema code for Microsoft SQL Server database servers.
Class
Code
public function setRecoveryModel($model) {
$this->connection
->query("ALTER " . $this->connection->options['name'] . " model SET RECOVERY " . $model);
}