Partager via


DataObjectConceptMapper.Connection Property

Retrieves the active DataConnection object instance to be used for any code that relies on connection-specific information.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Data.DataConnection
Returns the active DataConnection object instance.

.NET Framework Security

See Also

Reference

DataObjectConceptMapper Class

Microsoft.VisualStudio.Data Namespace