mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
fix caching issue with connection profile (#20739)
This commit is contained in:
@@ -113,21 +113,23 @@ function getConnectionProfile(
|
|||||||
azureResourceId: string,
|
azureResourceId: string,
|
||||||
userName: string,
|
userName: string,
|
||||||
password: string): azdata.IConnectionProfile {
|
password: string): azdata.IConnectionProfile {
|
||||||
|
|
||||||
|
const connectId = generateGuid();
|
||||||
return {
|
return {
|
||||||
serverName: serverName,
|
serverName: serverName,
|
||||||
id: generateGuid(),
|
id: connectId,
|
||||||
connectionName: undefined,
|
connectionName: connectId,
|
||||||
azureResourceId: azureResourceId,
|
azureResourceId: azureResourceId,
|
||||||
userName: userName,
|
userName: userName,
|
||||||
password: password,
|
password: password,
|
||||||
authenticationType: azdata.connection.AuthenticationType.SqlLogin,
|
authenticationType: azdata.connection.AuthenticationType.SqlLogin,
|
||||||
savePassword: false,
|
savePassword: false,
|
||||||
groupFullName: '',
|
groupFullName: connectId,
|
||||||
groupId: '',
|
groupId: connectId,
|
||||||
providerName: 'MSSQL',
|
providerName: 'MSSQL',
|
||||||
saveProfile: false,
|
saveProfile: false,
|
||||||
options: {
|
options: {
|
||||||
conectionName: '',
|
conectionName: connectId,
|
||||||
server: serverName,
|
server: serverName,
|
||||||
authenticationType: azdata.connection.AuthenticationType.SqlLogin,
|
authenticationType: azdata.connection.AuthenticationType.SqlLogin,
|
||||||
user: userName,
|
user: userName,
|
||||||
|
|||||||
Reference in New Issue
Block a user