mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-04-01 01:20:31 -04:00
new drop object request (#22387)
* simplify drop object requests * update sts * pr comments
This commit is contained in:
23
extensions/mssql/src/mssql.d.ts
vendored
23
extensions/mssql/src/mssql.d.ts
vendored
@@ -1191,12 +1191,6 @@ declare module 'mssql' {
|
||||
* @param login The login information.
|
||||
*/
|
||||
updateLogin(contextId: string, login: ObjectManagement.Login): Thenable<void>;
|
||||
/**
|
||||
* Delete a login.
|
||||
* @param connectionUri The URI of the server connection.
|
||||
* @param name Name of the login.
|
||||
*/
|
||||
deleteLogin(connectionUri: string, name: string): Thenable<void>;
|
||||
/**
|
||||
* Dispose the login view.
|
||||
* @param contextId The id of the view.
|
||||
@@ -1218,18 +1212,11 @@ declare module 'mssql' {
|
||||
*/
|
||||
createUser(contextId: string, user: ObjectManagement.User): Thenable<void>;
|
||||
/**
|
||||
* Create a login.
|
||||
* Update a user.
|
||||
* @param contextId Id of the view.
|
||||
* @param user The user information.
|
||||
*/
|
||||
updateUser(contextId: string, user: ObjectManagement.User): Thenable<void>;
|
||||
/**
|
||||
* Create a login.
|
||||
* @param connectionUri The URI of the server connection.
|
||||
* @param database Name of the database.
|
||||
* @param name Name of the user.
|
||||
*/
|
||||
deleteUser(connectionUri: string, database: string, name: string): Thenable<void>;
|
||||
/**
|
||||
* Dispose the user view.
|
||||
* @param contextId The id of the view.
|
||||
@@ -1238,10 +1225,16 @@ declare module 'mssql' {
|
||||
/**
|
||||
* Rename an object.
|
||||
* @param connectionUri The URI of the server connection.
|
||||
* @param objectUrn Urn of the object to be renamed. More information: https://learn.microsoft.com/en-us/sql/relational-databases/server-management-objects-smo/overview-smo.
|
||||
* @param objectUrn SMO Urn of the object to be renamed. More information: https://learn.microsoft.com/sql/relational-databases/server-management-objects-smo/overview-smo
|
||||
* @param newName The new name of the object.
|
||||
*/
|
||||
rename(connectionUri: string, objectUrn: string, newName: string): Thenable<void>;
|
||||
/**
|
||||
* Drop an object.
|
||||
* @param connectionUri The URI of the server connection.
|
||||
* @param objectUrn SMO Urn of the object to be dropped. More information: https://learn.microsoft.com/sql/relational-databases/server-management-objects-smo/overview-smo
|
||||
*/
|
||||
drop(connectionUri: string, objectUrn: string): Thenable<void>;
|
||||
}
|
||||
// Object Management - End.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user