fix caching issue with connection profile (#20739)

This commit is contained in:
brian-harris
2022-10-12 09:45:31 -07:00
committed by GitHub
parent 636efa841d
commit 03fcaf837c

View File

@@ -113,21 +113,23 @@ function getConnectionProfile(
azureResourceId: string,
userName: string,
password: string): azdata.IConnectionProfile {
const connectId = generateGuid();
return {
serverName: serverName,
id: generateGuid(),
connectionName: undefined,
id: connectId,
connectionName: connectId,
azureResourceId: azureResourceId,
userName: userName,
password: password,
authenticationType: azdata.connection.AuthenticationType.SqlLogin,
savePassword: false,
groupFullName: '',
groupId: '',
groupFullName: connectId,
groupId: connectId,
providerName: 'MSSQL',
saveProfile: false,
options: {
conectionName: '',
conectionName: connectId,
server: serverName,
authenticationType: azdata.connection.AuthenticationType.SqlLogin,
user: userName,