fix resource deployment notebooks (#21096)

This commit is contained in:
Alan Ren
2022-11-03 13:12:07 -07:00
committed by GitHub
parent d268b9948b
commit 5f16251ca7
9 changed files with 312 additions and 224 deletions

View File

@@ -118,7 +118,8 @@ CommandsRegistry.registerCommand('azdata.connect',
authenticationType?: AuthenticationType,
userName?: string,
password?: string,
databaseName?: string
databaseName?: string,
options?: { [name: string]: any }
}) {
const capabilitiesServices = accessor.get(ICapabilitiesService);
const connectionManagementService = accessor.get(IConnectionManagementService);
@@ -139,7 +140,7 @@ CommandsRegistry.registerCommand('azdata.connect',
saveProfile: true,
id: undefined,
groupId: undefined,
options: {}
options: args.options
};
const connectionProfile = ConnectionProfile.fromIConnectionProfile(capabilitiesServices, profile);