Feature/ext connection dialog (#2201)

* Connection Dialog API for extensions
This commit is contained in:
Leila Lali
2018-08-10 09:29:46 -07:00
committed by GitHub
parent 2a3195636e
commit e5096e61e5
20 changed files with 217 additions and 58 deletions

View File

@@ -1106,7 +1106,7 @@ declare module 'sqlops' {
/**
* Connection information
*/
connection: connection.Connection;
connection?: connection.Connection;
/**
* Operation Display Name
@@ -1153,5 +1153,12 @@ declare module 'sqlops' {
* @param connectionId The ID of the connection
*/
export function getUriForConnection(connectionId: string): Thenable<string>;
/**
* Opens the connection dialog, calls the callback with the result. If connection was successful
* returns the connection otherwise returns undefined
* @param callback
*/
export function openConnectionDialog(provider?: string[]): Thenable<connection.Connection>;
}
}