Partager via


DataViewHierarchyAccessor.Connection Property

Retrieves a DataConnection object instance representing the data connection pertaining to the data view hierarchy.

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

Syntax

'Declaration
Public ReadOnly Property Connection As DataConnection
public DataConnection Connection { get; }
public:
property DataConnection^ Connection {
    DataConnection^ get ();
}
member Connection : DataConnection with get
function get Connection () : DataConnection

Property Value

Type: Microsoft.VisualStudio.Data.DataConnection
Returns a DataConnection object instance.

.NET Framework Security

See Also

Reference

DataViewHierarchyAccessor Class

Microsoft.VisualStudio.Data Namespace