mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-04-01 09:30:31 -04:00
support rename for login, user and a few other types (#22331)
* rename object * add comment * use URN property * vbump STS * revert loc string change * fix name check * pr comments
This commit is contained in:
7
extensions/mssql/src/mssql.d.ts
vendored
7
extensions/mssql/src/mssql.d.ts
vendored
@@ -1235,6 +1235,13 @@ declare module 'mssql' {
|
||||
* @param contextId The id of the view.
|
||||
*/
|
||||
disposeUserView(contextId: string): Thenable<void>;
|
||||
/**
|
||||
* 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 newName The new name of the object.
|
||||
*/
|
||||
rename(connectionUri: string, objectUrn: string, newName: string): Thenable<void>;
|
||||
}
|
||||
// Object Management - End.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user