SqlInstallationHelper Methods |
The SqlInstallationHelper type exposes the following members.
Name | Description | |
---|---|---|
BackupDatabase |
Backup given database to filesystem.
| |
CheckAllConstraints |
Performs (re)check operation of all constraints for specified table.
If operation finish successfully untrusted constraints will be trusted.
| |
CheckIfSchemaExist |
Check if DB schema exists.
| |
CopyDatabase |
Create a copy of database. This feature is available only in SQL Azure databases.
| |
CopyingCompleted |
Checks if given database is being copied.
| |
CreateDatabase |
Creates database.
| |
DatabaseExists |
Returns true if database exists.
| |
DatabaseIsSeparated |
Checks if database is separated or not.
| |
DeleteDatabase |
Deletes database.
| |
EnsureDefaultSchema |
Ensures the default schema for current user
| |
GetConnectionString |
Returns connection string for the given parameters.
| |
GetCurrentDefaultSchema(String) |
Returns current default schema
| |
GetCurrentDefaultSchema(IDataConnection) |
Returns current default schema
| |
GetDatabaseVersion |
Returns database version from settings key.
| |
GetDefaultBackupPath |
Retrieves SQL server default backup directory from it's registry.
| |
GetEngineEdition |
Returns database engine edition of the instance of SQL Server installed on the server.
| |
GetSQLInstallPath |
Gets the folder in which the SQL install scripts are located.
| |
GetSQLInstallPathToObjects |
Gets the folder in which the SQL install scripts for DB objects are located.
| |
GetUniqueDatabaseName |
Returns unique database name.
| |
InstallDatabase |
Performs the database installation.
| |
TestConnection |
Test connection.
|