This interface is used to expose the SqlServerObjectExplorerService, which can be used to perform various actions found in the SQL Server Object Explorer. All calls to the methods on this interface must be performed from the UI thread. Calls that are not made on the UI thread may throw exceptions.
Assembly: Microsoft.VisualStudio.Data.Tools.Design (in Microsoft.VisualStudio.Data.Tools.Design.dll)
Thetype exposes the following members.
|Add||Creates a new connected editor window populated with the new object template for the given object type.|
|Browse||Shows the SQL Server Object Explorer and expands to the instance provided in the connection.|
|Delete||Deletes objects and dependent objects from a database. A confirmation dialog is presented.|
|Execute||Executes the given programmability object. A parameter dialog is presented first, followed by the creation of a new connected editor window where the statement is then executed.|
|OpenQuery||Creates a new connected editor window.|
|ViewCode||Opens the CREATE statement for the object in a new connected editor.|
|ViewData||Opens an editable data grid for the object's data.|
|ViewDesigner||Opens the designer for the provided object.|