DataConnectionUIControl Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Stellt eine Implementierung der IVsDataConnectionUIControl-Schnittstelle dar.
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)
- Vererbung
-
DataConnectionUIControl
- Implementiert
Konstruktoren
| DataConnectionUIControl() |
Initialisierer eine neue instance der DataConnectionUIControl -Klasse. |
Eigenschaften
| Control |
Ruft das aktuelle Benutzersteuerelement als -Objekt ab UserControl . |
| ServiceProvider |
Ruft den aktuellen instance des IServiceProvider -Objekts ab. |
| Site |
Ruft die Eigenschaften der Verbindungs-UI ab oder legt sie fest. |
Methoden
| LoadProperties() |
Lädt die Eigenschaften von Steuerelementen im Dialogfeld Datenverbindung, z. B. Datenquelle, Benutzer-ID, Kennwort und Anfangskatalog. |
| OnSiteChanged(EventArgs) |
Löst das SiteChanged-Ereignis aus. |
Ereignisse
| SiteChanged |
Tritt auf, wenn sich die Website, d. h. die Eigenschaften der Verbindungs-UI, geändert hat. |
Explizite Schnittstellenimplementierungen
| IVsDataSiteableObject<IServiceProvider>.Site |
Stellt eine Implementierung der IVsDataConnectionUIControl-Schnittstelle dar. |