Share via


IVsDataViewHierarchy Interface

Definition

Important

This API is not CLS-compliant.

Represents the ability for a provider to manipulate a data explorer connection through its implementation as a data view hierarchy.

public interface class IVsDataViewHierarchy
[System.CLSCompliant(false)]
public interface IVsDataViewHierarchy
public interface IVsDataViewHierarchy
[<System.CLSCompliant(false)>]
type IVsDataViewHierarchy = interface
type IVsDataViewHierarchy = interface
Public Interface IVsDataViewHierarchy
Attributes

Properties

CurrentView

Gets the current view of the data view hierarchy.

ExplorerConnection

Gets the current connection to Server Explorer.

IsConnectionInitialized

Gets a value indicating whether the connection to Server Explorer has been initialized.

IsModelInitialized

Gets a value indicating whether the support model is initialized.

IsViewSupportInitialized

Gets a value indicating whether the view support object is initialized.

Model

Gets the existing support model object.

PersistentCommands

Gets a collection of name/value pairs of commands that are associated with the current Server Explorer connection and that are saved in the registry.

PersistentProperties

Gets a collection of name/value pairs of properties that are associated with the current Server Explorer connection and that are saved.

ServiceProvider

Gets the current data service provider.

ViewSupport

Gets the view support object associated with the current Server Explorer connection.

Methods

CreateNewItem()

Creates a new node in the data view hierarchy.

CreateNewItems(Int32)

Creates the specified number of new nodes in the data view hierarchy.

DelayInsertItem(String, IVsDataViewSelectionInfo, Int32, Object[])

Adds the specified node to the queue of nodes to be inserted at a later time, if the parent node has not been expanded yet or is not created. Otherwise, inserts the specified node immediately.

DelayInsertItem(String, String, Int32, Object[])

Adds the specified node to the queue of nodes to be inserted at a later time, if the parent node has not been expanded yet or is not created. Otherwise, inserts the specified node immediately.

DiscardItem(Int32)

Removes the specified node from Server Explorer and de-allocates its corresponding object from memory.

GetOtherViewHierarchy(IVsDataExplorerConnection)

Retrieves the data view hierarchy associated with the given Server Explorer connection.

GetProviderImplementation<T>(Type)

Creates an implementation of the generic type T from the specified type.

GetViewCommonNodeInfo(Int32)

Returns the IVsDataViewCommonNodeInfo for the specified node.

InsertItem(Int32, IVsDataViewSelectionInfo, Int32, Object[])

Inserts the specified node and its child nodes, if any, under the specified parent node.

InsertItem(Int32, String, Int32, Object[])

Inserts the specified node under the specified parent node.

RemoveItem(Int32)

Removes the specified node from Server Explorer and discards it.

RemoveItem(Int32, Boolean)

Removes the specified node from Server Explorer. Optionally, discards the specified node.

SetNewItemSaveName(Int32, String)

Sets the name for use when saving the specified node.

Applies to