Freigeben über


IVsDataViewHierarchy.GetOtherViewHierarchy(IVsDataExplorerConnection) Method

Definition

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

public:
 Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataViewHierarchy ^ GetOtherViewHierarchy(Microsoft::VisualStudio::Data::Services::IVsDataExplorerConnection ^ explorerConnection);
public Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy GetOtherViewHierarchy (Microsoft.VisualStudio.Data.Services.IVsDataExplorerConnection explorerConnection);
abstract member GetOtherViewHierarchy : Microsoft.VisualStudio.Data.Services.IVsDataExplorerConnection -> Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy
Public Function GetOtherViewHierarchy (explorerConnection As IVsDataExplorerConnection) As IVsDataViewHierarchy

Parameters

explorerConnection
IVsDataExplorerConnection

The explorer connection for which to get the data view hierarchy.

Returns

An IVsDataViewHierarchy object representing the data view hierarchy for the given connection.

Exceptions

The explorerConnection parameter is null.

The data provider associated with the explorerConnection parameter differs from the current data provider.

Applies to