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

'宣言
Protected ReadOnly Property Connection As IVsDataConnection
'使用
Dim value As IVsDataConnection

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

Property Value

Type: Microsoft.VisualStudio.Data.Services.IVsDataConnection

An IVsDataConnection object representing the connection to the data source.

Permissions

See Also

Reference

DataConnectionClientService<T> Class

DataConnectionClientService<T> Members

Microsoft.VisualStudio.Data.Framework Namespace