IObjectExplorerService Interface

Definition

Important

This API is not CLS-compliant.

允许控制对象资源管理器的 COM 可见接口。COM visible interface that allows control of the object explorer.

public interface class IObjectExplorerService : IServiceProvider
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("26E139FB-2DD3-49c1-BE58-3F8DA45DBA3A")]
public interface IObjectExplorerService : IServiceProvider
type IObjectExplorerService = interface
    interface IServiceProvider
Public Interface IObjectExplorerService
Implements IServiceProvider
Attributes
Implements

Methods

ConnectToServer(Object)

使用指定的连接信息连接到 OE 中的服务器。Connects to the server in OE using specified connection information.

DisconnectSelectedServer()

断开与 OE 中所选服务器节点的连接。Disconnects the selected server node in OE. 在出现问题时引发。Throws if something went wrong.

DisconnectServer(Object)

在匹配指定的连接信息的 OE 中断开服务器的连接。Disconnects the server in OE matching specified connection information.

FindNode(String)

在对象资源管理器层次结构中为节点检索 INodeInformation 对象。Retrieves the INodeInformation object for node in the object explorer hierarchy.

GetSelectedNodes(Int32, INodeInformation[])

如果在对象资源管理器中当前选择了任何节点,则检索这些节点。Retrieves the nodes if any are currently selected in the object explorer.

NewConnection()

建立到服务器的新连接。Makes a new connection to a server.

SynchronizeTree(INodeInformation)

同步具有所选项的树视图。Synchronize the tree view with the selected item.

TryConnectToServer(Object)

连接到服务器。Connects to the server.

Applies to