add unsupported version warning (#17219)

* add unsupported version warning

* comments
This commit is contained in:
Alan Ren
2021-10-01 18:17:04 -07:00
committed by GitHub
parent d5b43df6d6
commit 9f2ad8a04b
3 changed files with 36 additions and 1 deletions

View File

@@ -976,4 +976,16 @@ declare module 'azdata' {
expiresOn?: number
}
}
export interface ConnectionInfoSummary {
/**
* Indicates whether the server version is supported by ADS. The default value is true. If the value is false, ADS will show a warning message.
*/
isSupportedVersion?: boolean;
/**
* The messages that will be appended to the Azure Data Studio's warning message about unsupported versions.
*/
unsupportedVersionMessage?: string;
}
}