mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 09:59:47 -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:
@@ -181,6 +181,10 @@ export class ExtHostDataProtocol extends ExtHostDataProtocolShape {
|
||||
return this._resolveProvider<sqlops.ConnectionProvider>(handle).listDatabases(connectionUri);
|
||||
}
|
||||
|
||||
$getConnectionString(handle: number, connectionUri: string, includePassword: boolean): Thenable<string> {
|
||||
return this._resolveProvider<sqlops.ConnectionProvider>(handle).getConnectionString(connectionUri, includePassword);
|
||||
}
|
||||
|
||||
$rebuildIntelliSenseCache(handle: number, connectionUri: string): Thenable<void> {
|
||||
return this._resolveProvider<sqlops.ConnectionProvider>(handle).rebuildIntelliSenseCache(connectionUri);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user