Share via


DataSourceInformation.Connection Property

Retrieves the data connection used to retrieve data source properties.

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

Syntax

'Declaration
Protected ReadOnly Property Connection As DataConnection
'Usage
Dim value As DataConnection 

value = Me.Connection
protected DataConnection Connection { get; }
protected:
property DataConnection^ Connection {
    DataConnection^ get ();
}
protected function get Connection () : DataConnection

Property Value

Type: Microsoft.VisualStudio.Data.DataConnection
Returns the data connection used to retrieve data source properties.

Remarks

This value will be nulla null reference (Nothing in Visual Basic) if the instance was not initialized with a data connection.

.NET Framework Security

See Also

Reference

DataSourceInformation Class

DataSourceInformation Members

Microsoft.VisualStudio.Data Namespace