We recommend using Visual Studio 2017

Microsoft.SqlServer.Management.UI.VSIntegration Namespace

The Microsoft.SqlServer.Management.UI.VSIntegration Namespace contains the Interfaces which are required to interface SQL Server with Visual Studio.

Public classSettingsRepresents the settings of the VSIntegration object. This class cannot be inherited.

Public interfaceIScriptingOptionsProvides programmatic options that can be set for scripting operations.
Public interfaceISessionControllerRepresents an interface used for automating DTAShell application from external processes. It allows creating new tuning sessions from external processes.
Public interfaceIStatusBarContributerUpdates information in the status bar when they are focused.

Community Additions