mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 01:32:34 -05:00
Added validations to configure dialog (#24418)
* Added validations to configure dialog * Improved validations messages text * Addressed PR feedback * Addressed PR feedback * Fixed build issue * Version bump * Changed to single quotes
This commit is contained in:
@@ -316,5 +316,34 @@ export class SqlMigrationService extends MigrationExtensionService implements co
|
||||
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
async runTdeValidation(
|
||||
sourceSqlConnectionString: string,
|
||||
networkSharePath: string,
|
||||
) {
|
||||
let params: contracts.TdeValidationParams = {
|
||||
sourceSqlConnectionString: sourceSqlConnectionString,
|
||||
networkSharePath: networkSharePath,
|
||||
};
|
||||
|
||||
try {
|
||||
return await this._client.sendRequest(contracts.TdeValidationRequest.type, params);
|
||||
}
|
||||
catch (e) {
|
||||
this._client.logFailedRequest(contracts.TdeValidationRequest.type, e);
|
||||
}
|
||||
|
||||
return undefined;
|
||||
}
|
||||
|
||||
async getTdeValidationTitles() {
|
||||
try {
|
||||
return await this._client.sendRequest(contracts.TdeValidationTitlesRequest.type, {});
|
||||
}
|
||||
catch (e) {
|
||||
this._client.logFailedRequest(contracts.TdeValidationRequest.type, e);
|
||||
}
|
||||
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user