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
'Declaration
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
explorerConnection
Type: Microsoft.VisualStudio.Data.Services.IVsDataExplorerConnectionThe explorer connection for which to get the data view hierarchy.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataViewHierarchy Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace