List databases for publish quickpick (#16368)

* List databases for publish quickpick

* missed word
This commit is contained in:
Charles Gagnon
2021-07-21 08:36:34 -07:00
committed by GitHub
parent d1892b514f
commit efa82650f8
2 changed files with 29 additions and 11 deletions

View File

@@ -28,8 +28,16 @@ declare module 'vscode-mssql' {
/**
* Prompts the user to select an existing connection or create a new one, and then returns the result
* @param ignoreFocusOut Whether the quickpick prompt ignores focus out (default false)
*/
promptForConnection(): Promise<IConnectionInfo | undefined>
promptForConnection(ignoreFocusOut?: boolean): Promise<IConnectionInfo | undefined>;
/**
* Lists the databases for a given connection. An error is thrown and displayed to the user if an
* error occurs while connecting
* @param connection The connection to list the databases for
*/
listDatabases(connection: IConnectionInfo): Promise<string[]>;
}
/**