mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
update vscode-mssql.d.ts to match the one in vscode-mssql (#20861)
* update vscode-mssql.d.ts to match the one in vscode-mssql * format file
This commit is contained in:
113
extensions/types/vscode-mssql.d.ts
vendored
113
extensions/types/vscode-mssql.d.ts
vendored
@@ -118,10 +118,66 @@ declare module 'vscode-mssql' {
|
|||||||
/**
|
/**
|
||||||
* Get the server info for a connection
|
* Get the server info for a connection
|
||||||
* @param connectionInfo connection info of the connection
|
* @param connectionInfo connection info of the connection
|
||||||
|
* @returns server information
|
||||||
*/
|
*/
|
||||||
getServerInfo(connectionInfo: IConnectionInfo): ServerInfo
|
getServerInfo(connectionInfo: IConnectionInfo): ServerInfo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Information about a SQL Server instance.
|
||||||
|
*/
|
||||||
|
export interface ServerInfo {
|
||||||
|
/**
|
||||||
|
* The major version of the SQL Server instance.
|
||||||
|
*/
|
||||||
|
serverMajorVersion: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The minor version of the SQL Server instance.
|
||||||
|
*/
|
||||||
|
serverMinorVersion: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The build of the SQL Server instance.
|
||||||
|
*/
|
||||||
|
serverReleaseVersion: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The ID of the engine edition of the SQL Server instance.
|
||||||
|
*/
|
||||||
|
engineEditionId: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* String containing the full server version text.
|
||||||
|
*/
|
||||||
|
serverVersion: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* String describing the product level of the server.
|
||||||
|
*/
|
||||||
|
serverLevel: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The edition of the SQL Server instance.
|
||||||
|
*/
|
||||||
|
serverEdition: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether the SQL Server instance is running in the cloud (Azure) or not.
|
||||||
|
*/
|
||||||
|
isCloud: boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The version of Azure that the SQL Server instance is running on, if applicable.
|
||||||
|
*/
|
||||||
|
azureVersion: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The Operating System version string of the machine running the SQL Server instance.
|
||||||
|
*/
|
||||||
|
osVersion: string;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Well-known Authentication types.
|
* Well-known Authentication types.
|
||||||
*/
|
*/
|
||||||
@@ -169,7 +225,6 @@ declare module 'vscode-mssql' {
|
|||||||
SqlOnDemand = 11
|
SqlOnDemand = 11
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Information about a database connection
|
* Information about a database connection
|
||||||
*/
|
*/
|
||||||
@@ -343,61 +398,6 @@ declare module 'vscode-mssql' {
|
|||||||
connectionString: string | undefined;
|
connectionString: string | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Information about a SQL Server instance.
|
|
||||||
*/
|
|
||||||
export interface ServerInfo {
|
|
||||||
/**
|
|
||||||
* The major version of the SQL Server instance.
|
|
||||||
*/
|
|
||||||
serverMajorVersion: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The minor version of the SQL Server instance.
|
|
||||||
*/
|
|
||||||
serverMinorVersion: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The build of the SQL Server instance.
|
|
||||||
*/
|
|
||||||
serverReleaseVersion: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The ID of the engine edition of the SQL Server instance.
|
|
||||||
*/
|
|
||||||
engineEditionId: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* String containing the full server version text.
|
|
||||||
*/
|
|
||||||
serverVersion: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* String describing the product level of the server.
|
|
||||||
*/
|
|
||||||
serverLevel: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The edition of the SQL Server instance.
|
|
||||||
*/
|
|
||||||
serverEdition: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether the SQL Server instance is running in the cloud (Azure) or not.
|
|
||||||
*/
|
|
||||||
isCloud: boolean;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The version of Azure that the SQL Server instance is running on, if applicable.
|
|
||||||
*/
|
|
||||||
azureVersion: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Operating System version string of the machine running the SQL Server instance.
|
|
||||||
*/
|
|
||||||
osVersion: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export const enum ExtractTarget {
|
export const enum ExtractTarget {
|
||||||
dacpac = 0,
|
dacpac = 0,
|
||||||
file = 1,
|
file = 1,
|
||||||
@@ -672,6 +672,7 @@ declare module 'vscode-mssql' {
|
|||||||
ownerUri: string;
|
ownerUri: string;
|
||||||
extractTarget?: ExtractTarget;
|
extractTarget?: ExtractTarget;
|
||||||
taskExecutionMode: TaskExecutionMode;
|
taskExecutionMode: TaskExecutionMode;
|
||||||
|
includePermissions?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface DeployParams {
|
export interface DeployParams {
|
||||||
|
|||||||
Reference in New Issue
Block a user