mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 17:22:25 -05:00
Adds "Get Connection String" command (#2108)
* Initial connection string changes * Add Get Connection String methods * Add IncludePassword parameter * Update Data Protocol and Tools Service versions * Update dataprotocol to 0.2.2 * Try to update the dataprotocol component again * Fix a few bugs related to getting the current editor connection uri
This commit is contained in:
7
src/sql/sqlops.d.ts
vendored
7
src/sql/sqlops.d.ts
vendored
@@ -87,6 +87,11 @@ declare module 'sqlops' {
|
||||
*/
|
||||
export function getActiveConnections(): Thenable<Connection[]>;
|
||||
|
||||
/**
|
||||
* Get connection string
|
||||
*/
|
||||
export function getConnectionString(connectionId: string, includePassword: boolean): Thenable<string>;
|
||||
|
||||
/**
|
||||
* Get the credentials for an active connection
|
||||
* @param {string} connectionId The id of the connection
|
||||
@@ -322,6 +327,8 @@ declare module 'sqlops' {
|
||||
|
||||
rebuildIntelliSenseCache(connectionUri: string): Thenable<void>;
|
||||
|
||||
getConnectionString(connectionUri: string, includePassword: boolean): Thenable<string> ;
|
||||
|
||||
registerOnConnectionComplete(handler: (connSummary: ConnectionInfoSummary) => any): void;
|
||||
|
||||
registerOnIntelliSenseCacheComplete(handler: (connectionUri: string) => any): void;
|
||||
|
||||
Reference in New Issue
Block a user