mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 09:35:37 -05:00
CMS - SQL Login (#5989)
* initial SQL Login with save password working * fix switching auth types * remove metadata from package file * allow editing connections for unsaved password connections * review comments * change thenables to async/awaits * review comments * changed thenables to promises * remove authTypeChanged bool * removed unused import * review comments * removed try catches * cr comments * review comments
This commit is contained in:
@@ -53,6 +53,9 @@ export class ConnectionProfile extends ProviderConnectionInfo implements interfa
|
||||
this.options[appNameKey] = Constants.applicationName;
|
||||
}
|
||||
}
|
||||
if (model.options.registeredServerDescription) {
|
||||
this.registeredServerDescription = model.options.registeredServerDescription;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
//Default for a new connection
|
||||
@@ -109,12 +112,12 @@ export class ConnectionProfile extends ProviderConnectionInfo implements interfa
|
||||
this.options['azureTenantId'] = value;
|
||||
}
|
||||
|
||||
public get registeredCmsServerDescription(): string {
|
||||
return this.options['registeredCmsServerDescription'];
|
||||
public get registeredServerDescription(): string {
|
||||
return this.options['registeredServerDescription'];
|
||||
}
|
||||
|
||||
public set registeredCmsServerDescription(value: string) {
|
||||
this.options['registeredCmsServerDescription'] = value;
|
||||
public set registeredServerDescription(value: string) {
|
||||
this.options['registeredServerDescription'] = value;
|
||||
}
|
||||
|
||||
public get groupFullName(): string {
|
||||
|
||||
Reference in New Issue
Block a user