DataConnectionUIControl 類別

定義

表示 IVsDataConnectionUIControl 介面的實作。

public ref class DataConnectionUIControl : System::Windows::Forms::UserControl, Microsoft::VisualStudio::Data::Core::IVsDataSiteableObject<IServiceProvider ^>, Microsoft::VisualStudio::Data::Core::IVsDataSiteableObject<Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataConnectionUIProperties ^>, Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataConnectionUIControl
public class DataConnectionUIControl : System.Windows.Forms.UserControl, Microsoft.VisualStudio.Data.Core.IVsDataSiteableObject<IServiceProvider>, Microsoft.VisualStudio.Data.Core.IVsDataSiteableObject<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataConnectionUIProperties>, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataConnectionUIControl
type DataConnectionUIControl = class
    inherit UserControl
    interface IVsDataConnectionUIControl
    interface IVsDataSiteableObject<IVsDataConnectionUIProperties>
    interface IVsDataSiteableObject<IServiceProvider>
Public Class DataConnectionUIControl
Inherits UserControl
Implements IVsDataConnectionUIControl, IVsDataSiteableObject(Of IServiceProvider), IVsDataSiteableObject(Of IVsDataConnectionUIProperties)
繼承
DataConnectionUIControl
實作

建構函式

DataConnectionUIControl()

初始化表達式 類別的新實例 DataConnectionUIControl

屬性

Control

取得目前使用者控制件做為 UserControl 物件。

ServiceProvider

取得物件的目前實例 IServiceProvider

Site

取得或設定連接UI屬性。

方法

LoadProperties()

載入 [資料連線] 對話框上的控制項屬性,例如數據源、使用者識別碼、密碼和初始目錄。

OnSiteChanged(EventArgs)

引發 SiteChanged 事件。

事件

SiteChanged

發生於網站,也就是連接UI屬性已變更時。

明確介面實作

IVsDataSiteableObject<IServiceProvider>.Site

表示 IVsDataConnectionUIControl 介面的實作。

適用於