Fixed #3954 pass connection info to new notebook flow (#4000)

* 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:
Yurong He
2019-02-11 15:28:05 -08:00
committed by GitHub
parent 6d37329e74
commit 62404721ed
8 changed files with 47 additions and 7 deletions

View File

@@ -272,6 +272,11 @@ export interface IConnectionManagementService {
* Serialize connection string with optional provider
*/
buildConnectionInfo(connectionString: string, provider?: string): Thenable<sqlops.ConnectionInfo>;
/**
* Get connection profile by id
*/
getConnectionProfileById(profileId: string): IConnectionProfile;
}
export const IConnectionDialogService = createDecorator<IConnectionDialogService>('connectionDialogService');