次の方法で共有


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()

データ ソース、ユーザー ID、パスワード、初期カタログなど、[データ接続] ダイアログ ボックスでコントロールのプロパティを読み込みます。

OnSiteChanged(EventArgs)

SiteChanged イベントを発生させます。

イベント

SiteChanged

サイト 、つまり接続 UI プロパティが変更されたときに発生します。

明示的なインターフェイスの実装

IVsDataSiteableObject<IServiceProvider>.Site

IVsDataConnectionUIControl インターフェイスの実装を表します。

適用対象