mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
vBump STS to 1.9.5 & add optional application name parameter for connection string (#18201)
* include application name optional parameter * vBump STS to 1.9.5
This commit is contained in:
@@ -194,7 +194,7 @@ export async function launchAddSqlBindingQuickpick(uri: vscode.Uri | undefined,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
connectionString = await vscodeMssqlApi.getConnectionString(connectionUri, false);
|
connectionString = await vscodeMssqlApi.getConnectionString(connectionUri, false, false);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// failed to get connection string for selected connection and will go back to prompt for connection string methods
|
// failed to get connection string for selected connection and will go back to prompt for connection string methods
|
||||||
console.warn(e);
|
console.warn(e);
|
||||||
|
|||||||
@@ -79,10 +79,11 @@ declare module 'vscode-mssql' {
|
|||||||
/**
|
/**
|
||||||
* Get the connection string for the provided connection Uri
|
* Get the connection string for the provided connection Uri
|
||||||
* @param connectionUri The URI of the connection to get the connection string for.
|
* @param connectionUri The URI of the connection to get the connection string for.
|
||||||
* @param includePassword to include password with connection string
|
* @param includePassword Whether the Password is included in the connection string. Default is false.
|
||||||
|
* @param includeApplicationName Whether the Application Name is included in the connection string. Default is true
|
||||||
* @returns connection string
|
* @returns connection string
|
||||||
*/
|
*/
|
||||||
getConnectionString(connectionUri: String, includePassword?: boolean): Promise<string>;
|
getConnectionString(connectionUri: String, includePassword?: boolean, includeApplicationName?: boolean): Promise<string>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user