mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 01:25:37 -05:00
* Fixed #3954 The problem is: connectionProfileId is not passed into New Notebook flow. The fix is: plumbing connectionProfileId via NotebookInput. * Resolved PR comments
This commit is contained in:
@@ -1378,6 +1378,14 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
return serverInfo;
|
||||
}
|
||||
|
||||
public getConnectionProfileById(profileId: string): IConnectionProfile {
|
||||
let profile = this._connectionStatusManager.findConnectionByProfileId(profileId);
|
||||
if (!profile) {
|
||||
return undefined;
|
||||
}
|
||||
return profile.connectionProfile;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the connection string for the provided connection ID
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user