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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.