Delen via


DataConnectionClientService<T>.Connection Property

Gets the current data connection associated with the data client service.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Data.Services.IVsDataConnection
An IVsDataConnection object representing the connection to the data source.

.NET Framework Security

See Also

Reference

DataConnectionClientService<T> Class

Microsoft.VisualStudio.Data.Framework Namespace