Export (0) Print
Expand All

IObjectExplorerService Interface

COM visible interface that allows control of the object explorer.

This API is not CLS-compliant. The CLS-compliant alternative is [false].

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer
Assembly:  SqlWorkbench.Interfaces (in SqlWorkbench.Interfaces.dll)

[CLSCompliantAttribute(false)]
[GuidAttribute("26E139FB-2DD3-49c1-BE58-3F8DA45DBA3A")]
[ComVisibleAttribute(true)]
public interface IObjectExplorerService : IServiceProvider

The IObjectExplorerService type exposes the following members.

  NameDescription
Public methodConnectToServerConnects to the server in OE using specified connection information.
Public methodDisconnectSelectedServerDisconnects the selected server node in OE. Throws if something went wrong.
Public methodDisconnectServerDisconnects the server in OE matching specified connection information.
Public methodFindNodeRetrieves the INodeInformation object for node in the object explorer hierarchy.
Public methodGetSelectedNodesRetrieves the nodes if any are currently selected in the object explorer.
Public methodGetService (Inherited from IServiceProvider.)
Public methodNewConnectionMakes a new connection to a server.
Public methodSynchronizeTreeSynchronize the tree view with the selected item.
Public methodTryConnectToServerConnects to the server.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft