Class SqlToolsContext
Context for SQL Tools
Inheritance
System.Object
SqlToolsContext
Namespace:Microsoft.SqlTools.ServiceLayer.SqlContext
Assembly:Microsoft.SqlTools.ServiceLayer.dll
Syntax
public class SqlToolsContext
Constructors
| Improve this Doc View SourceSqlToolsContext(HostDetails)
Initalizes the SQL Tools context instance
Declaration
public SqlToolsContext(HostDetails hostDetails)
Parameters
Type | Name | Description |
---|---|---|
HostDetails | hostDetails |
Properties
| Improve this Doc View SourceSqlToolsVersion
Gets the PowerShell version of the current runspace.
Declaration
public Version SqlToolsVersion { get; }
Type | Description |
---|---|
System.Version |