다음을 통해 공유


IVsDataViewHierarchy.GetOtherViewHierarchy Method

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

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

‘선언
Function GetOtherViewHierarchy ( _
    explorerConnection As IVsDataExplorerConnection _
) As IVsDataViewHierarchy
IVsDataViewHierarchy GetOtherViewHierarchy(
    IVsDataExplorerConnection explorerConnection
)
IVsDataViewHierarchy^ GetOtherViewHierarchy(
    IVsDataExplorerConnection^ explorerConnection
)
abstract GetOtherViewHierarchy : 
        explorerConnection:IVsDataExplorerConnection -> IVsDataViewHierarchy 
function GetOtherViewHierarchy(
    explorerConnection : IVsDataExplorerConnection
) : IVsDataViewHierarchy

Parameters

Return Value

Type: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataViewHierarchy
An IVsDataViewHierarchy object representing the data view hierarchy for the given connection.

Exceptions

Exception Condition
ArgumentNullException

The explorerConnection parameter is nulla null reference (Nothing in Visual Basic).

InvalidOperationException

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

.NET Framework Security

See Also

Reference

IVsDataViewHierarchy Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace