共用方式為


IVsDataExplorerConnection.Connection 屬性

取得資料連接在伺服器總管中目前連接的對應。

命名空間:  Microsoft.VisualStudio.Data.Services
組件:  Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)

語法

'宣告
ReadOnly Property Connection As IVsDataConnection
IVsDataConnection Connection { get; }
property IVsDataConnection^ Connection {
    IVsDataConnection^ get ();
}
abstract Connection : IVsDataConnection with get
function get Connection () : IVsDataConnection

屬性值

類型:Microsoft.VisualStudio.Data.Services.IVsDataConnection
表示資料連接的 IVsDataConnection 物件。

.NET Framework 安全性

請參閱

參考

IVsDataExplorerConnection 介面

Microsoft.VisualStudio.Data.Services 命名空間