Introduce mssql connection property 'host name in certificate' (#21064)

This commit is contained in:
Cheena Malhotra
2023-01-25 17:09:28 -08:00
committed by GitHub
parent 065dfef1e4
commit 81b7cd2612
10 changed files with 54 additions and 2 deletions

View File

@@ -295,6 +295,11 @@ declare module 'vscode-mssql' {
*/
trustServerCertificate: boolean | undefined;
/**
* Indicates the host name specified in TLS certificate that will be used by SQL Server to validate server certificate. When not specified, the server name is used by default for certificate validation.
*/
hostNameInCertificate: string | undefined;
/**
* Gets or sets a Boolean value that indicates if security-sensitive information, such as the password, is not returned as part of the connection
* if the connection is open or has ever been in an open state.