DataConnectionUIControl Class

Definition

Enables a custom UI control for editing connection properties in the Data Connection dialog box.

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)
Inheritance
DataConnectionUIControl
Implements

Constructors

DataConnectionUIControl()

Initializers a new instance of the DataConnectionUIControl class.

Properties

Control

Gets the current user control as a UserControl object.

ServiceProvider

Gets the current instance of the IServiceProvider object.

Site

Gets or sets the connection UI properties.

Methods

LoadProperties()

Loads the properties of controls on the Data Connection dialog box, such as the data source, user ID, password, and initial catalog.

OnSiteChanged(EventArgs)

Raises the SiteChanged event.

Events

SiteChanged

Occurs when the site, that is, the connection UI properties, has changed.

Explicit Interface Implementations

IVsDataSiteableObject<IServiceProvider>.Site

Applies to