Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Get
protected IVsDataConnection Connection { get; }
protected:
property IVsDataConnection^ Connection {
IVsDataConnection^ get ();
}
member Connection : IVsDataConnection
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.