mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-04-01 09:30:31 -04:00
Rename internal references to Delete Database to Drop Database (#24132)
This commit is contained in:
12
extensions/mssql/src/mssql.d.ts
vendored
12
extensions/mssql/src/mssql.d.ts
vendored
@@ -984,8 +984,16 @@ declare module 'mssql' {
|
||||
* @returns A string value representing the generated TSQL query if generateScript was set to true, and an empty string otherwise.
|
||||
*/
|
||||
detachDatabase(connectionUri: string, objectUrn: string, dropConnections: boolean, updateStatistics: boolean, generateScript: boolean): Thenable<string>;
|
||||
|
||||
deleteDatabase(connectionUri: string, objectUrn: string, dropConnections: boolean, deleteBackupHistory: boolean, generateScript: boolean): Thenable<string>;
|
||||
/**
|
||||
* Drop a database.
|
||||
* @param connectionUri The URI of the server connection.
|
||||
* @param objectUrn SMO Urn of the database to be detached. More information: https://learn.microsoft.com/sql/relational-databases/server-management-objects-smo/overview-smo
|
||||
* @param dropConnections Whether to drop active connections to this database.
|
||||
* @param deleteBackupHistory Whether to delete backup and restore history information for this database.
|
||||
* @param generateScript Whether to generate a TSQL script for the operation instead of detaching the database.
|
||||
* @returns A string value representing the generated TSQL query if generateScript was set to true, and an empty string otherwise.
|
||||
*/
|
||||
dropDatabase(connectionUri: string, objectUrn: string, dropConnections: boolean, deleteBackupHistory: boolean, generateScript: boolean): Thenable<string>;
|
||||
}
|
||||
// Object Management - End.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user